1.以管理员身份,打开poweeshell。

2.输入 Set-ExecutionPolicy -Scope CurrentUser RemoteSigned

3.在VScode中打开终端,输入npm install -g yarn
1.确认安装,输入yarn --version

1.以管理员身份,打开poweeshell。

2.输入 Set-ExecutionPolicy -Scope CurrentUser RemoteSigned

3.在VScode中打开终端,输入npm install -g yarn
1.确认安装,输入yarn --version
