Last active
November 29, 2019 01:17
-
-
Save eloxt/fb363016d258ccc59b379a4f55779013 to your computer and use it in GitHub Desktop.
Install software after reinstall macOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/zsh | |
read -p "Press any key to continue... " -n1 -s | |
echo '\n' | |
echo Installing Homebrew | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
git -C "$(brew --repo)" remote set-url origin https://mirrors.ustc.edu.cn/brew.git | |
git -C "$(brew --repo homebrew/core)" remote set-url origin https://mirrors.ustc.edu.cn/homebrew-core.git | |
git -C "$(brew --repo homebrew/cask)" remote set-url origin https://mirrors.ustc.edu.cn/homebrew-cask.git | |
export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles | |
defaults write com.apple.Dock autohide-delay -float 0 ; defaults write com.apple.dock autohide-time-modifier -float 0.5;killall Dock | |
echo Installing Homebrew Casks | |
brew tap homebrew/homebrew-fonts | |
brew tap homebrew/cask-versions | |
brew tap homebrew/homebrew-cask-drivers | |
brew tap beeftornado/rmtree | |
brew tap buo/cask-upgrade | |
brew cask install shadowsocksx-ng | |
read -p "Open shadowsocksX-NG, press any key to continue... " -n1 -s | |
echo '\n' | |
export http_proxy=http://127.0.0.1:1087;export https_proxy=http://127.0.0.1:1087; | |
brew install antigen | |
brew cask install steelseries-exactmouse-tool | |
brew cask install iina | |
brew cask install telegram | |
brew cask install iterm2 | |
brew cask install visual-studio-code | |
#brew cask install little-snitch | |
brew cask install istat-menus | |
brew cask install alfred | |
brew cask install keka | |
brew cask install kekadefaultapp | |
brew cask install mos | |
brew cask install spotify | |
brew cask install lyricsx | |
#brew cask install horndis | |
# cleanup | |
brew cleanup --force | |
rm -f -r /Library/Caches/Homebrew/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment