linux下npm安装

curl --silent --location https://rpm.nodesource.com/setup_10.x | bash -
yum install -y nodejs
npm install -g cnpm --registry=https://registry.npm.taobao.org
npm install
npm run build
npm -v
原文地址:https://www.cnblogs.com/John-2011/p/14918660.html