查询当前正在使用的镜像源
npm get registry
淘宝镜像源
npm config set registry http://registry.npm.taobao.org/
默认镜像源(发布npm插件时,必须使用默认源)
npm config set registry https://registry.npmjs.org/
查询当前正在使用的镜像源
npm get registry
淘宝镜像源
npm config set registry http://registry.npm.taobao.org/
默认镜像源(发布npm插件时,必须使用默认源)
npm config set registry https://registry.npmjs.org/
本文标题:切换npm镜像源
本文链接:https://www.haomeiwen.com/subject/lomuqktx.html
网友评论