Chocolatey 安装与使用
The sane way to manage software on Windows
- Chocolatey builds on technologies you know - unattended installation and PowerShell. Chocolatey works with all existing software installation technologies like MSI, NSIS, InnoSetup, etc, but also works with runtime binaries and zip archives. Go Pro/Businessto dial that experience up to 11!
- Easily manage all aspects of Windows software (installation, configuration, upgrade, and uninstallation). Chocolatey is the most reliable when software is included in the package, but can also easily download resources.
- Take advantage of PowerShell to provide automated software management instructions and Chocolatey’s built-in module to turn complex tasks into one line function calls!
-Chocolatey官网介绍
访问Chocolatey官网:https://chocolatey.org/ 找到Install Chocolatey Now
当然也可以直接访问:https://chocolatey.org/install
注:上图1. 提示到,需使用管理员运行 shell
我们可在 C:\Windows\System32 下找到 cmd.exe 右键管理员运行。
等待安装之后,通过choco 或 choco -? 查看是否安装成功。
- 使用Chocolatey 安装 Gradle 通过命令: choco install gradle