下载安装 使用官方的installer.msi直接安装 yarn官网下载地址下载之后一步步安装即可。 使用npm命令安装 在此之前必须已经安装了node和npm(node自带npm) npm install -g yarn