01 简介
Windows 系统上的“软件应用商店”或“包管理器”,但它主要通过命令行(如 PowerShell 或 CMD)来操作。
02 安装流程
2.1 使用管理员打开powershell
2.2 执行以下命令:
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'))
2.3 检查安装
powershell执行
choco -?
choco --version

浙公网安备 33010602011771号