安装brew提示/usr/local/bin is not in your PATH.
生活随笔
收集整理的這篇文章主要介紹了
安装brew提示/usr/local/bin is not in your PATH.
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
安裝brew提示/usr/local/bin is not in your PATH
或者安裝node后提示node: command not found
解決方法:修改環境變量配置文件
在Linux操作系統下,配置環境變量是使用如下命令:
nano /etc/profile
source ~/.bash_profile #更新配置后的環境變量
在OSX下:
sudo nano ~/.bash_profile
添加:export PATH=/usr/local/bin:$PATH
source ~/.bash_profile #更新配置后的環境變量
mac終端下顯示(bash)****
刪掉.bash_profile文件 重建 大概率是安裝anaconda時候添加了環境變量
總結
以上是生活随笔為你收集整理的安装brew提示/usr/local/bin is not in your PATH.的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 备忘-常用工具/网页
- 下一篇: 【机器学习入门笔记1:anaconda一