Windows 下的包管理器 chocolatey
以下操作都在 PowerShell 下进行
一 安装
操作方法来自 https://chocolatey.org/install#individual
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'))
二 更新已安装的
choco upgrade chocolatey