npm 命令
This commit is contained in:
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
|
||||||
|
```
|
Reference in New Issue
Block a user