首页 > 其他 > 详细

安装使用yarn,使用国内镜像加速npm和yarn

时间:2018-01-28 18:59:56      阅读:392      评论:0      收藏:0      [点我收藏+]

安装yarn

https://yarnpkg.com/lang/zh-hans/docs/install/

使用国内镜像加速npm和yarn

1. npm config set registry=https://registry.npm.taobao.org

2. yarn config set registry https://registry.npm.taobao.org

3. 下载cnpm:npm install -g cnpm --registry=https://registry.npm.taobao.org

安装使用yarn,使用国内镜像加速npm和yarn

原文:https://www.cnblogs.com/cxscode/p/8371797.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!