• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            牽著老婆滿街逛

            嚴以律己,寬以待人. 三思而后行.
            GMail/GTalk: yanglinbo#google.com;
            MSN/Email: tx7do#yahoo.com.cn;
            QQ: 3 0 3 3 9 6 9 2 0 .

            安裝 nrm 自由切換 npm 源 國內鏡像提升下載速度

            轉載自:http://yijiebuyi.com/blog/4ef268db0dcfd2a42ad138a1a054bf0b.html

            nodejs_black.png

            之前寫了一篇博文,關于如何把 npm 換到國內鏡像員的博文,如下: 給電腦換 npm 國內鏡像員 cnpm

            為什么要換,你懂的!

            今天給大家推薦一個 npm 開源包 nrm


            基于 npm ,全局安裝以后,你開源無縫快速切換幾個源,提高下載速度,拒絕 loading !


            安裝

            npm  install   -g   nrm  

            開源地址

            https://github.com/Pana/nrm

            使用

            查看幫助

             ?  /Users/zhangzhi/code  >nrm -h  Usage: nrm [options] [command]   Commands:    ls                           list all the registries   current                      show current registry name   use <registry>               change registry to registry   add <registry> <url> [home]  add one custom registry   del|rm <registry>            delete one custom registry   home <registry> [browser]    open the homepage of registry with optional browser   test [registry]              show response time for specific or all registries   help                         print this help  Options:    -h, --help     output usage information   -V, --version  output the version number    

            查看當前支持切換的源

             ?  /Users/zhangzhi/code  >nrm ls    npm ---- https://registry.npmjs.org/   cnpm --- http://r.cnpmjs.org/ * taobao - http://registry.npm.taobao.org/   edunpm - http://registry.enpmjs.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/    

            上面列出了可選的 9個源,還用 * 號標記出了當前我使用的源

            切換指定的源

            假如現在我想把 taobao 源 切換成 eu 的鏡像源( 貌似走的教育網,我也不確定速度是不是快,只是演示切換)

            ?  /Users/zhangzhi/code  >nrm use eu   Registry has been set to: http://registry.npmjs.eu/  

            切換后的源列表

            ?  /Users/zhangzhi/code  >nrm ls    npm ---- https://registry.npmjs.org/   cnpm --- http://r.cnpmjs.org/   taobao - http://registry.npm.taobao.org/   edunpm - http://registry.enpmjs.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/   

            可以看到源已經切換成了 eu

            你還可以添加已知的源,或者刪除

            posted on 2015-11-05 10:07 楊粼波 閱讀(367) 評論(0)  編輯 收藏 引用

            久久久亚洲欧洲日产国码是AV| 久久国产精品免费一区二区三区 | 久久伊人亚洲AV无码网站| 久久免费国产精品| 国产国产成人精品久久| 中文字幕久久亚洲一区| 国产成人精品久久| 色欲综合久久中文字幕网| 久久精品国产第一区二区| 亚洲va中文字幕无码久久| 久久人妻少妇嫩草AV蜜桃| 2022年国产精品久久久久| 精品国产日韩久久亚洲| 久久婷婷五月综合色99啪ak| 99久久免费国产精精品| 欧美噜噜久久久XXX| 色天使久久综合网天天| 久久五月精品中文字幕| 久久精品视频网| 欧美精品久久久久久久自慰| 久久久久久久精品成人热色戒| 久久亚洲国产成人精品无码区| 99久久精品影院老鸭窝| 久久国产精品99国产精| 久久精品99久久香蕉国产色戒| 97精品伊人久久久大香线蕉| 伊人久久大香线蕉综合热线| 亚洲欧美国产精品专区久久| 亚洲国产精品无码久久青草| 色婷婷噜噜久久国产精品12p| 久久99热这里只有精品国产| 99久久亚洲综合精品成人| 97超级碰碰碰碰久久久久| 久久精品国产亚洲沈樵| 久久国产乱子精品免费女| 亚洲国产成人久久精品动漫| 久久国产成人精品麻豆| 观看 国产综合久久久久鬼色 欧美 亚洲 一区二区| 精品久久久久久久无码| 99麻豆久久久国产精品免费| 亚洲伊人久久大香线蕉苏妲己|