curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh
sudo easy_install pip
pip install powerline-status
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew update
brew install git
brew uninstall wget
brew search /wge*/
brew list
brew home
brew info
brew deps
注意:如果遇到Error: The /usr/local directory is not writable.错误, 就执行以下命令sudo chown -R $(whoami):admin /usr/local,再更新。
curl -L https://get.rvm.io | bash -s stable
rvm -v
rvm list known
rvm install 2.3.0
rvm install 2.2.0 --disable-binary
rvm use 2.2.0
rvm use 2.2.0 --default
rvm list
rvm remove 1.8.7
可能会报错如下:
To start using RVM you need to run `source /Users/yourusername/.rvm/scripts/rvm` in all your open shell windows, in rare cases you need to reopen all shell windows.
解决如下,终端运行:source /Users/yourusername/.rvm/scripts/rvm