linux 安装nvm ,管理多版本nodejs

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.1/install.sh | bash

wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.31.1/install.sh | bash

 

 

立即生效

source ~/.bashrc

 

安装v6.10.3

nvm install v6.10.3

npm install forever -g

forever start index.js

posted @ 2017-06-05 09:17  lobtao  阅读(2469)  评论(0编辑  收藏  举报