首先进入cmd,输入powershell指令,如图
Prompt should now start with "PS " 然后run
iex (new-object net.webclient).downloadstring('https://get.scoop.sh')Scoop 安装后,你就可以在控制台执行如下命令安装 Yarn 了: