yum install -y epel-release
# Node.js v10.x安装命令
curl --silent --location https://rpm.nodesource.com/setup_10.x | bash -
# Node.js v8.x安装命令
curl --silent --location https://rpm.nodesource.com/setup_8.x | bash -
yum install -y nodejs
yum install -y epel-release
# Node.js v10.x安装命令
curl --silent --location https://rpm.nodesource.com/setup_10.x | bash -
# Node.js v8.x安装命令
curl --silent --location https://rpm.nodesource.com/setup_8.x | bash -
yum install -y nodejs