问题:
According to the Homebrew site, to install it, I need to type:根据 Homebrew 站点,要安装它,我需要输入:
brew install wget
I get an error message:我收到一条错误消息:
-bash: brew: command not found
Found this answer .找到了这个答案。 The problem, however, is I don't see brew
in /usr/local/bin
.然而,问题是我在/usr/local/bin
没有看到brew
。
I added the below line to my .bashrc
file我.bashrc
下行添加到我的.bashrc
文件中
export PATH=/usr/local/bin:$PATH
Still getting the command not found
error.仍然收到command not found
错误。
How do I install Homebrew on OS X?如何在 OS X 上安装 Homebrew?
解决方案:
参考一: https://en.stackoom.com/question/1NW3s参考二: https://stackoom.com/question/1NW3s