`

【转】安装最新(较新)的node 和 npm

阅读更多

install node:

sudo apt-get install curl

curl --silent --location https://deb.nodesource.com/setup_4.x | sudo bash -

sudo apt-get install nodejs

 

install npm

apt-get install npm

 

update npm

npm install -g npm

 

from: http://stackoverflow.com/

 

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics