Linux 下安装Node.js (centos 安装环境)
作者:
Junting | 来源:发表于
2018-02-14 15:40 被阅读30次# On RHEL, CentOS or Fedora, for Node.js v8 LTS:
curl --silent --location https://rpm.nodesource.com/setup_8.x | sudo bash -
# Alternatively for Node.js 9:
curl --silent --location https://rpm.nodesource.com/setup_9.x | sudo bash -
# 安装 Node.js
sudo yum -y install nodejs
# Enterprise Linux(RHEL和CentOS)用户可以使用EPEL存储库中的Node.js和npm包。
# 为您的版本安装相应的epel-release RPM(在EPEL存储库主页上找到),然后运行:
sudo yum install nodejs npm --enablerepo=epel
本文标题:Linux 下安装Node.js (centos 安装环境)
本文链接:https://www.haomeiwen.com/subject/zzyetftx.html
网友评论