centos安装 node.js

curl --silent --location https://rpm.nodesource.com/setup_8.x | sudo bash -

yum clean all

yum makecache

yum -y install nodejs

原文地址:https://www.cnblogs.com/linkenpark/p/7810238.html