yarn 安装教程(windows)
一、安装选择
1.1、npm安装
前提是需要安装node.js
npm install -g yarn
查看版本:yarn --version
1.2、使用yarn的msi安装文件
前提是需要安装node.js
提供一个.msi文件,在运行时将引导您在Windows上安装Yarn
msi文件下载: https://yarn.bootcss.com/docs/install/#windows-stable
1.3、Yarn 淘宝源安装
分别复制粘贴以下代码行到黑窗口运行即可
yarn config set registry https://registry.npm.taobao.org -g
yarn config set sass_binary_site http://cdn.npm.taobao.org/dist/node-sass -g
二、安装步骤(msi文件安装)
2.1、傻瓜式安装
2.2、测试安装是否成功
三、参考博客
官网安装指南:https://yarn.bootcss.com/docs/install/#windows-stable
博客: https://www.cnblogs.com/mumusen/p/9760732.html