npm命令

npm node package manager 安装nodejs时自带的

npm help install(list)

npm config get|set registry 

npm install jquery@3.0.0 -g

npm update jquery

npm list -g 

npm list jquery 

npm install bootstrap --save

npm cache clear

npm init 会生成package.json文件

原文地址:https://www.cnblogs.com/howhy/p/14452437.html