- 到/usr/local/目录下, and $ git status to see if homebrew is clean.
- if dirty, $ git reset –hard , git clean -df
- 安装homebrow
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"