今天下载homebrew的时候弹出了这个错误
Warning: /usr/local/bin is not in your PATH.
解决方法:
sudo vim .bash_profile
最后面添加一句
export PATH=/usr/local/bin:$PATH
然后esc退出insert状态,并在最下方输入:wq保存退出
即可解决问题
今天下载homebrew的时候弹出了这个错误
Warning: /usr/local/bin is not in your PATH.
解决方法:
sudo vim .bash_profile
最后面添加一句
export PATH=/usr/local/bin:$PATH
然后esc退出insert状态,并在最下方输入:wq保存退出
即可解决问题