CentOS:NodeJs安装
NodeJS
curl --silent --location https://rpm.nodesource.com/setup_7.x | bash -
NVM
yum remove nodejs npm
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash
source ~/.bashrc
nvm --version
nvm install stable
nvm install 4.8.3