mac上爲nodejs設置環境變量

Mac下面的環境變量設置和Linux差很少,通常爲這幾個文件(左邊的先加載):html /etc/profile /etc/paths ~/.bash_profile ~/.bash_login ~/.profile ~/.bashrcnode #打開~/.bash_profile,添加 export NODE_ENV=dev #保存退出後執行如下命令當即生效 source ~/.bash_pr
相關文章
相關標籤/搜索