npm 设置镜像源

  1. 查看npm镜像源
    npm get registry
  2. npm设置淘宝镜像源
    npm set registry https://registry.npm.taobao.org/
  3. 清除已设置的镜像源
    npm config set registry https://registry.npmjs.org
  4. 未完待续...
原文地址:https://www.cnblogs.com/peijyStudy/p/14302728.html