参考连接:https://blog.csdn.net/yw00yw/article/details/81354533
1、先下载好NodeJS,然后输入如下命令安装yarn
npm install -g yarn
2、查看版本:
yarn --version
3、查看 yarn 默认配置
yarn config list
4、修改默认镜像和node-sass
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
5、yarn 常用命令
https://yarn.bootcss.com/docs/usage/
原文地址:https://www.cnblogs.com/littleboyck/p/12411126.html
时间: 2024-11-09 00:59:52