• <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 楊粼波 閱讀(364) 評論(0)  編輯 收藏 引用

            久久精品成人影院| 久久久久免费精品国产| 亚洲伊人久久大香线蕉综合图片| 亚洲中文字幕无码久久综合网 | 97久久精品无码一区二区 | 久久99这里只有精品国产| 青青青青久久精品国产| 亚洲精品无码久久一线| 久久精品国产99久久久古代| 日韩精品久久久久久久电影| 色综合合久久天天给综看| 久久99精品久久只有精品| 欧美牲交A欧牲交aⅴ久久| 国产成人香蕉久久久久| 精品999久久久久久中文字幕| 亚洲国产成人久久笫一页| 久久天堂AV综合合色蜜桃网 | 狠狠色丁香婷婷久久综合五月 | 久久国产欧美日韩精品免费| 久久精品国产亚洲精品2020| 一级做a爰片久久毛片人呢| 伊人色综合九久久天天蜜桃| 久久久受www免费人成| 久久久久国产精品麻豆AR影院| 久久人人爽人人爽人人AV东京热| 久久这里都是精品| 国产产无码乱码精品久久鸭| 久久se精品一区二区影院| 狠狠色婷婷久久综合频道日韩 | 99精品国产综合久久久久五月天| 日产精品久久久久久久性色| 99久久做夜夜爱天天做精品| 99久久婷婷国产综合亚洲| 亚洲国产成人久久一区久久| 久久香蕉国产线看观看猫咪?v| 精品国产乱码久久久久久呢| 久久久久亚洲AV无码去区首| 精品久久久无码中文字幕| 伊人久久大香线蕉亚洲| 亚洲中文字幕无码一久久区 | 久久精品无码一区二区无码 |