取消后无法安装Homebrew

时间:2015-03-06 09:10:44

标签: homebrew

我尝试安装Homebrew,但我的互联网连接已经停止了一段时间。

当我再次尝试安装自制软件时

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

它给了我错误:

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

我该如何解决这个问题?谢谢!

1 个答案:

答案 0 :(得分:0)

在运行CCleaner之后它会工作并等待一段时间。