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. 未完待续...
posted @ 2021-01-20 14:33  一个小bu⑥  阅读(541)  评论(0编辑  收藏  举报