Front-end/npm/npm镜像设置.md

15 lines
338 B
Markdown

查看当前镜像
```apl
npm help config
npm config get registry
```
设置全局镜像
```shell
npm config set registry https://registry.npm.taobao.org --global
```
版本管理:[GitHub - nvm-sh/nvm: Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions](https://github.com/nvm-sh/nvm#usage)