标签:利用 版本 oca centos7 -- location 安装 nodejs ash
1.下载node.js
V8.x:
curl --silent --location https://rpm.nodesource.com/setup_8.x | bash -
V7.x:
curl --silent --location https://rpm.nodesource.com/setup_7.x | bash -
V6.x:
curl --silent --location https://rpm.nodesource.com/setup_6.x | bash -
V5.x:
curl --silent --location https://rpm.nodesource.com/setup_5.x | bash -
2.yum安装node.js
yum install -y nodejs
3.查看node.js版本
node -v
标签:利用 版本 oca centos7 -- location 安装 nodejs ash
原文地址:https://www.cnblogs.com/lee-qi/p/11621883.html