安装基础软件
安装XCode
直接从App Store安装XCode(Git也会一起安装)。
安装Homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew基本命令格式
brew search name brew install name brew remove name
安装wget
brew install wget
安装oh my zsh
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh
Set zsh as your default shell:
chsh -s /bin/zsh
安装homebrew-cask
brew install caskroom/cask/brew-cask
brew tap phinze/homebrew-cask && brew install brew-cask
brew cask基本命令格式
brew cask search name brew cask install name brew cask uninstall name
为啥我装完brew就可以直接用brew cask了?
安装常用软件(可选):
brew cask install alfred
brew cask install the-unarchiver
brew cask install qq
brew cask install line
brew cask install skype
brew cask install thunder
brew cask install mplayerx
brew cask install evernote
brew cask install skitch
brew cask install dropbox
brew cask install google-chrome
brew cask install mou
brew cask install iterm2
brew cask install sublime-text
brew cask install virtualbox