win10 安装chocolatey

  1. 以管理员权限打开powershell
  2. 运行下述命令,需要用户确认的时候输入y按回车即可
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
posted @ 2020-07-17 15:58  jackie_astro  阅读(301)  评论(0编辑  收藏  举报