我似乎把自己挖到了一个角落。
我第一次安装 Homebrew 进行到一半,但它卡住了。大约 15 分钟的等待后,我退出了终端。我最初的输入是来自 homebrew homepage的内容。
ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"
我重新打开终端并尝试重新安装并得到 -
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
所以,按照建议,我跑了
rm -rf /usr/local/Cellar /usr/local/.git && brew cleanup
并得到
-bash: brew: command not found
我尝试从 Homebrew FAQ 运行卸载脚本,但这似乎也没有帮助。还有什么我可以尝试的吗?我将如何手动卸载?