1. Node.js v8.x安装命令 `#curl --silent --location https://rpm.nodesource.com/setup_8.x | bash -` 2. Node.js v7.x安装命令 `#curl --silent --location https://rpm.nodesource.com/setup_7.x | bash -` 3. Node.js v6.x安装命令 `#curl --silent --location https://rpm.nodesource.com/setup_6.x | bash -` 4. Node.js v5.x安装命令 `#curl --silent --location https://rpm.nodesource.com/setup_5.x | bash -` 5. yum安装node.js `yum install -y nodejs` 6. 查看node.js版本 `node -v`
|