# 查看自己的环境镜像
npm config get registry
# 切换镜像为 xxxx (xxxx为镜像地址)
npm config set registry xxxx
# 国外镜像
https://registry.npm.org/
# 淘宝镜像
http://registry.npm.taobao.org/
Node.js换镜像(源)操作
阅读 41
2023-11-07
# 查看自己的环境镜像
npm config get registry
# 切换镜像为 xxxx (xxxx为镜像地址)
npm config set registry xxxx
# 国外镜像
https://registry.npm.org/
# 淘宝镜像
http://registry.npm.taobao.org/
相关推荐
精彩评论(0)