zoukankan      html  css  js  c++  java
  • npm 更改在线仓库镜像地址

    node 安装后,npm 的默认在线仓库镜像地址为:

    https://registry.npmjs.org/

    使用 npm get registry 命令可以获取到:

     为了使用 npm 能够更快的下载需要的依赖,可以将在线仓库的镜像地址改为淘宝的镜像地址:

    https://registry.npm.taobao.org

    相应的设置命令为:

    npm set registry https://registry.npm.taobao.org

    设置后再使用 npm get registry 命令重新获取查看是否设置成功:

     
  • 相关阅读:
    053705
    053704
    053703
    053702
    053701
    053700
    053699
    053698
    053697
    HDU 3746 Cyclic Nacklace
  • 原文地址:https://www.cnblogs.com/QingXiaxu/p/14058816.html
Copyright © 2011-2022 走看看