mac上为nodejs设置环境变量

Mac下面的环境变量设置和Linux差很少,通常为这几个文件(左边的先加载):html /etc/profile /etc/paths ~/.bash_profile ~/.bash_login ~/.profile ~/.bashrcnode #打开~/.bash_profile,添加 export NODE_ENV=dev #保存退出后执行如下命令当即生效 source ~/.bash_pr
相关文章
相关标签/搜索