配置为淘宝镜像
npm config set registry http://registry.npm.taobao.org/
还原默认镜像
npm config set registry https://registry.npmjs.org
查看当前源
npm get registry
npm config set registry http://registry.npm.taobao.org/
npm config set registry https://registry.npmjs.org
npm get registry
本文标题:npm config 镜像 还原
本文链接:https://www.haomeiwen.com/subject/zspxyltx.html
网友评论