安装chocolatey和yarn

以管理员模式打开CMD,执行以下命令,安装chocolatey @"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin" 安装yarn choco install yarn 设置yarn使用taobao的仓库 yarn config set registry…