title: npm
author: susu
site:
- cnblogs.com
- csdn.net

npm

1
2
3
4
5
# 配置npm源(https://mirrors.cloud.tencent.com/help/npm.html)
npm config set registry http://mirrors.cloud.tencent.com/npm/
npm i npm@latest -g
npm i cnpm -g
cpnm install @vue/cli -g