1. 程式人生 > >NodeJs與Grunt在Linux上的安裝與配置

NodeJs與Grunt在Linux上的安裝與配置

2.使用tar -zxvf node.tar與tar -zxvf grunt.tar命令解壓

3.vim /etc/profile;將以上兩個解壓後的檔案的bin目錄配置path環境變數

4.source /etc/profile

5.執行grunt - -version 與node - -version即可看到對應版本號即表示安裝成功