//检查当前镜像源:
npm config get registry
//https://registry.npmjs.org/
//修改成淘宝的镜像源:
npm config set registry https://registry.npm.taobao.org
//此时检查镜像源:https://registry.npm.taobao.org/
//检查当前镜像源:
npm config get registry
//https://registry.npmjs.org/
//修改成淘宝的镜像源:
npm config set registry https://registry.npm.taobao.org
//此时检查镜像源:https://registry.npm.taobao.org/
本文标题:如何更改成淘宝镜像
本文链接:https://www.haomeiwen.com/subject/nmkzxhtx.html
网友评论