Chocolatey是Windows环境下的包管理工具,类似于Ubuntu系统中的apt,Centos系统中的yum

  1. 以管理员身份运行 PowerShell
    按 Win + S 搜索 PowerShell,右键 以管理员身份运行。
  2. 运行以下命令安装 Chocolatey
    Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))

标签: none

添加新评论