Centos7安装Node.js

发布时间:2019-06-25 发布网站:脚本宝典
脚本宝典收集整理的这篇文章主要介绍了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:

  1. yum install -y epel-release
  2. yum install -y nodejs

脚本宝典总结

以上是脚本宝典为你收集整理的Centos7安装Node.js全部内容,希望文章能够帮你解决Centos7安装Node.js所遇到的问题。

如果觉得脚本宝典网站内容还不错,欢迎将脚本宝典推荐好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。
标签: