windows 下安装 yarn

npm i -g yarn
yarn config set registry https://registry.npm.taobao.org/
yarn config set global-folder "d:\tools\yarn\global"
yarn config set cache-folder "d:\tools\yarn\cache"

接下来设置环境变量,关闭 cmd 窗口,“我的电脑”- 右键 -“属性”-“高级系统设置”-“高级”-“环境变量”

windows 下安装 yarn

本作品采用《CC 协议》,转载必须注明作者和本文链接
秦晓武