标签:
Node.js
安装C/C++软件包:
yum -y install gcc make gcc-c++ openssl-devel wget
通过package manager安装Node.js:
curl --silent --location https://rpm.nodesource.com/setup | bash - yum -y install nodejs
验证是否安装成功:
node -v
npm
安装npm:
curl -L https://npmjs.org/install.sh | sh
验证是否安装成功:
npm -v
标签:
原文地址:http://www.cnblogs.com/xiaozhimutou/p/5002070.html