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
    原文作者:煲煲菜
    原文地址: https://segmentfault.com/a/1190000011332818
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞