Chocolatey is a software management solution unlike anything else you’ve ever experienced on Windows. Chocolatey brings the concepts of true package management to allow you to version things, manage dependencies and installation order, better inventory management, and other features.(官网)
安装
CMD
1 2 3 4 5
REM 下载并执行安装脚本 @"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" REM 添加环境变量 SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"