npm镜像源
# 查看当前镜像源
1 | npm config get registry |
# 设置淘宝镜像源
1 | npm config set registry https://registry.npmmirror.com |
# 删除淘宝镜像源
1 | npm config delete registry https://registry.npm.taobao.org |
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 阿尔忒弥斯的笔记!
评论
# 查看当前镜像源
1 | npm config get registry |
# 设置淘宝镜像源
1 | npm config set registry https://registry.npmmirror.com |
# 删除淘宝镜像源
1 | npm config delete registry https://registry.npm.taobao.org |