npm 命令

This commit is contained in:
徐永兴 2024-05-09 16:23:40 +08:00
parent 0f49b2918c
commit a2e4483924

17
node/npm.md Normal file
View File

@ -0,0 +1,17 @@
<h1>NPM 命令</h1>
### 常用命令
```bash
# 查看当前用户
npm who am i
# 查看源地址
npm config list
# 切换源
npm set registry https://
# 删除源
npm config rm registry
```