Mac 安装 Homebrew
参考:https://zhuanlan.zhihu.com/p/111014448
![](https://img.haomeiwen.com/i3810307/4e37a78c2951d61e.png)
![](https://img.haomeiwen.com/i3810307/43d41454b9f95cc8.png)
homebrew npm nodejs 在mac上的升级指令
https://www.jianshu.com/p/9546b8d3bf95
配置文件参考
MAC 打开.bash_profile
启动终端Terminal
进入当前用户的home目录
输入cd ~
创建.bash_profile
输入touch .bash_profile
编辑.bash_profile文件
输入open -e .bash_profile
保存文件,关闭.bash_profile
更新刚配置的环境变量
输入source .bash_profile
网友评论