npm常用命令记录
时间:2021-09-03 19:48:03
收藏:0
阅读:9
1.查看已安装的模块
- 全局
npm list -g --depth 0
- 当前项目
npm list
2.更新包
npm update -g xxx
3.删除包
npm uninstall -g xxx
4.安装
- 当前项目
npm install xxx
- 全局
npm install -g xxx
5.查看npm配置
npm config list -l
原文:https://www.cnblogs.com/200ok/p/15221602.html
评论(0)