zoukankan      html  css  js  c++  java
  • 切换npm源为淘宝镜像

    npm默认的镜像源下载速度很慢,通常切换了淘宝镜像源

    1、查看当前使用的npm镜像源

    npm config get registry

    2、临时使用npm镜像源(使用且仅使用一次)

    npm --registry https://registry.npm.taobao.org install xxx

    3、切换npm镜像源

    npm config set registry https://registry.npm.taobao.org
  • 相关阅读:
    网络编程
    模块
    内置函数
    函数应用
    万能参数
    函数
    爬虫
    算法
    Flask
    linux
  • 原文地址:https://www.cnblogs.com/houchen/p/14684718.html
Copyright © 2011-2022 走看看