Chocolatey ist ein Paketmanager für Windows – praktisch auf einem VPS für schnelle, nicht-interaktive Softwareinstallationen.
Voraussetzungen
- PowerShell als Administrator
- Ausführungsrichtlinie für die Installation
PowerShellSet-ExecutionPolicy Bypass -Scope Process -Force
Installation
PowerShell[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072 iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
Neue PowerShell-Sitzung, dann:
PowerShellchoco -v
Beispiele
PowerShellchoco install git -y choco install 7zip -y choco upgrade all -y
Chocolatey ist ein Drittanbieter-Ökosystem; Paketdetails vor Installation prüfen.