Homebrew 安装后 没法用brew命令。

来源:

poooocket

2016-09-22

问题:运行brew时,终端提示”-bash:brew:command not found”,无法找到brew命令;

重新安装,终端显示:

It appears Homebrew is already installed. If your intent is to reinstall you

should do the following before running this installer again:

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

The current contents of /usr/local are bin Cellar etc Frameworks Homebrew include lib opt sbin share var

然后终端输入:ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"

结果终端显示:Failed to locate Homebrew!

写回答

0回答

还没有人回答问题,可以看看其他问题

贯穿全栈React Native开发App

全面掌握React Native技术,不止步前端开发,让你移动领域大放光彩

946 学习 · 385 问题

查看课程