Mac上面不能安裝Homebrew

這個stackoverflow的答案解決了個人問題:git

http://stackoverflow.com/questions/18039029/mac-can-t-install-homebrewgithub

問題以下:ruby

it appears Homebrew is already installed. If your intent is to reinstall you
should do the following before running this installer again:
rm -rf /usr/local/Cellar /usr/local/.git && brew cleanup

解決方案:app

rm -rf /usr/local/Cellar /usr/local/.git
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
相關文章
相關標籤/搜索