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