# 所有命令均在开发软件的Terminal终端执行
# 1.设置淘宝镜像,永久修改本地npm的源
npm config set registry https://registry.npm.taobao.org
# 2.临时设置本地npm的源
npm --registry https://registry.npm.taobao.org install express
# 3.查看当前下载源
npm config get registry
# 4.npm下载配置
npm install -g @vue/cli --registry=https://registry.npm.taobao.org