-
Notifications
You must be signed in to change notification settings - Fork 543
npm 常用命令
zhaohaodang edited this page Mar 8, 2017
·
1 revision
npm install xxx 安装模块xxx
npm install xxx -g 全局安装模块xxx
npm install xxx --save-dev 安装模块xxx并自动添加模块和版本号到package.json中
npm uninstall xxxx 卸载模块xxx
npm update xxx 更新模块xxx
npm outdated 检查模块是否已经过时
npm ls 查看安装的模块
npm version 查看模块版本
npm view xxx 查看模块xxx的注册信息