脚本宝典收集整理的这篇文章主要介绍了Centos7安装Node.js,脚本宝典觉得挺不错的,现在分享给大家,也给大家做个参考。
官网安装说明:
链接
Enterprise Linux (RHEL and CentOS) users may use the Node.js and npm packages from the EPEL repository.
Install the appropriate epel-release RPM for your version (found on the EPEL repository homepage), then run:
sudo yum install nodejs npm --enablerepo=epel
通过epel可以快捷安装node.js:
- yum install -y epel-release
- yum install -y nodejs
以上是脚本宝典为你收集整理的Centos7安装Node.js全部内容,希望文章能够帮你解决Centos7安装Node.js所遇到的问题。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。