如何清除已设置的npm淘宝镜像?

阅读 22.1k
评论
    2 个回答

    手动的太麻烦了,一般用 https://www.npmjs.com/package/nrm 做切换

    $ nrm ls
     
    * npm ---- https://registry.npmjs.org/
      cnpm --- http://r.cnpmjs.org/
      taobao - http://registry.npm.taobao.org/
      eu ----- http://registry.npmjs.eu/
      au ----- http://registry.npmjs.org.au/
      sl ----- http://npm.strongloop.com/
      nj ----- https://registry.nodejitsu.com/
      pt ----- http://registry.npmjs.pt/
    评论 赞赏