github git clone下载加速 && npm install 下载加速

git clone https://pd.zwc365.com/seturl/< https 开头的项目地址>
npm install --registry=https://registry.npm.taobao.org

npm 的下载加速,为什么不用cnpm,是因为生成的目录结构不一样,某些时候回有问题

后记:

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

好吧,这个失败了,还是挺慢的,最后我又用了cnpm,虽然代码报错了,但是由于是研究别人的代码,就凑合看了。

原文地址:https://www.cnblogs.com/pengchenggang/p/14148247.html