node安装设置

install & npm

1 curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
2 sudo apt-get install -y nodejs 
1 npm config set registry https://registry.npm.taobao.org
2 npm config get registry
1 npm install -g nrm
2 nrm ls
3 nrm use taobao

 

 

posted @ 2016-12-21 10:39  Mavericyk  阅读(61)  评论(0)    收藏  举报