# 查看当前下载源
npm config get registry
# 切换下载源
# npm config set registry https://registry.npm.taobao.org 2022年6月30日 停止解析,不能用了
npm config set registry https://registry.npmmirror.com # 最新的国内镜像地址
# 查看当前下载源
npm config get registry
# 切换下载源
# npm config set registry https://registry.npm.taobao.org 2022年6月30日 停止解析,不能用了
npm config set registry https://registry.npmmirror.com # 最新的国内镜像地址