# nodesource 各种版本
https://github.com/nodesource/distributions
# 编译环境
yum install gcc-c++ make
# 添加NodeSource存储库
curl -sL https://rpm.nodesource.com/setup_10.x | bash -
yum -y install nodejs
node -v
npm -v
# nodesource 各种版本
https://github.com/nodesource/distributions
# 编译环境
yum install gcc-c++ make
# 添加NodeSource存储库
curl -sL https://rpm.nodesource.com/setup_10.x | bash -
yum -y install nodejs
node -v
npm -v