1、设置
npm config set registry https://registry.npm.taobao.org --global
npm config set disturl https://npm.taobao.org/dist --global
2、检测
npm config get registry
npm config get disturl
1、设置
npm config set registry https://registry.npm.taobao.org --global
npm config set disturl https://npm.taobao.org/dist --global
2、检测
npm config get registry
npm config get disturl
本文标题:NPM 镜像指令
本文链接:https://www.haomeiwen.com/subject/hkfslqtx.html
网友评论