Windows安装yarn

时间:2020-08-15 17:27:45   收藏:0   阅读:103

下载安装包

前往github项目地址
https://github.com/yarnpkg/yarn

打开Releases页面
https://github.com/yarnpkg/yarn/releases

下载最新版本安装包
https://github.com/yarnpkg/yarn/releases/download/v1.22.4/yarn-1.22.4.msi

下载完成后安装包如下

yarn-1.22.4.msi

安装

执行安装包,需要设置安装目录

C:\software\Yarn

yarn设置淘宝镜像源

yarn config set registry http://registry.npm.taobao.org/ -g
yarn config get registry

原文:https://www.cnblogs.com/fengzhentian/p/13508969.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!