npm 命令
This commit is contained in:
parent
0f49b2918c
commit
a2e4483924
17
node/npm.md
Normal file
17
node/npm.md
Normal file
@ -0,0 +1,17 @@
|
||||
<h1>NPM 命令</h1>
|
||||
|
||||
### 常用命令
|
||||
|
||||
```bash
|
||||
# 查看当前用户
|
||||
npm who am i
|
||||
|
||||
# 查看源地址
|
||||
npm config list
|
||||
|
||||
# 切换源
|
||||
npm set registry https://
|
||||
|
||||
# 删除源
|
||||
npm config rm registry
|
||||
```
|
Loading…
x
Reference in New Issue
Block a user