对于RHEL、CentOS或Fedora系统,Node.jsv8LTS版本命令:curl–silent–locationhttps://rpm.nodesource.com/setup_8.x|sudobash-whileNode.js10命令:curl–silent–locationhttps://rpm.nodesource.com/setup_10.x|sudobash-theninstall:sudoyum-yinstallnodejs用淘宝源码替换npmnpminstall-gcnpm–registry=https://registry.npm.taobao.org
