更改脚本执行策略
以管理员权限打开PowerShell,执行如下命令:

set-ExecutionPolicy RemoteSigned
安装choco
iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))
安装curl
choco install curl
以管理员权限打开PowerShell,执行如下命令:
set-ExecutionPolicy RemoteSigned
iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))
choco install curl