美文网首页
mac安装了brew后提示command not found 修

mac安装了brew后提示command not found 修

作者: Judy警官 | 来源:发表于2019-05-07 14:06 被阅读0次

mac安装了brew后提示command not found

找到解决方式。其实解决这个问题真的很简单。如下:

sudo vim .bash_profile

添加:

export PATH=/usr/local/bin:$PATH

按esc退出插入模式,输入:wq!

保存,source .bash_profile使配置修改生效。

source ~/.bash_profile使配置修改生效。

再次使用brew 命令就ok了。

相关文章

网友评论

      本文标题:mac安装了brew后提示command not found 修

      本文链接:https://www.haomeiwen.com/subject/goueoqtx.html