npm 常用命令
小于 1 分钟约 108 字...
npm 常用命令
阿里巴巴开源镜像站
https://developer.aliyun.com/mirror/
npm 代理加速设置
windows 下 使用 git-bash 来运行 npm run
npm config set script-shell "C:\\meichangliang\\soft\\Git\\bin\\bash.exe"
Linux 设置本地代理
export ALL_PROXY=socks5://127.0.0.1:10808
一些其它指令
## npm 升级
npm -g install npm
## 清除缓存
npm cache clean --force
## 卸载
npm uninstall xxx (-g)
## 查看更新
npm -g outdated
## 其它指令
npm audit fix
npm audit fix --force
npm audit
你认为这篇文章怎么样?
- 0
- 0
- 0
- 0
- 0
- 0