centos7用yum安装node.js
2017-06-03 10:45
489 查看
安装node.js
更新node.js各版本yum源
Node.js v8.x安装命令
#curl --silent --location https://rpm.nodesource.com/setup_8.x | bash -
Node.js v7.x安装命令
#curl --silent --location https://rpm.nodesource.com/setup_7.x | bash -
Node.js v6.x安装命令
#curl --silent --location https://rpm.nodesource.com/setup_6.x | bash -
Node.js v5.x安装命令
#curl --silent --location https://rpm.nodesource.com/setup_5.x | bash -
yum安装node.js
yum install -y nodejs
查看node.js版本
# node -v
node.js版本管理器n
安装n
npm install -g n
版本管理
安装指定版本
#n <version>
安装最新版本
# n latest
安装稳定版本
#n stable
删除某个版本
#n rm <version>
查看所有版本
#n list
相关文章推荐
- CentOS7最小化安装 配置NODE.JS环境
- CentOS7 安装Node.js
- CentOS7最小化安装 配置NODE.JS环境
- centos7安装Node.js、nvm
- Centos7 中安装 Node.js v4.4.4
- CentOS7 安装Node.js
- CentOS7 安装 Node.js
- yum安装node.js
- centos7下安装Node.js MongoDB Nginx
- centos7安装node.js框架与配置环境变量
- Centos7下安装node.js
- centos7 安装npm (node.js)
- CentOS7 安装Node.js
- Centos7 中 Node.js安装简单方法
- Centos7 系统下node.js+Nginx+MongoDB的安装与配置
- Yum安装nodejs + npm之CetnOS 6.5
- CentOS7 安装node.js
- 在windows 下安装node.js
- 在Windows上安装Node.js模块的方法
- 在CentOS5.6上安装Node.js