npm 基本使用命令

NMP
本地 远程
npm install uglify-js --global
npm install underscore@1.8.2 指定版本

npm update underscore

npm search mkdir

npm uninstall underscore
缓存目录
ls ~/.npm
npm cache clean 清理缓存

package.json 管理依赖的文件
npm init

原文地址:https://www.cnblogs.com/exayong/p/6889175.html