Chocolatey - GradedJestRisk/windows-training GitHub Wiki
Package manager, Windows only.
Bullet points:
- get the latest release without any manual actions (OK for most apps);
- script to enable fast new machine setup, sample script here.
Steps:
- start Powershell CLI with adminstrator rights
- run
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
- type
choco
, you'll getChocolatey v0.10.13
- type
choco feature enable -n allowGlobalConfirmation
- enable auto-upgrade (schedule task)
choco install choco-upgrade-all-at-startup
Handful:
- get installed app:
clist -li
orchoco list --local-only
- bin location
C:\ProgramData\chocolatey\bin
- search for available app:
choco search <APPLICATION_NAME>
- install app
choco install <APPLICATION_NAME>
- upgrade app
choco upgrade <APPLICATION_NAME>
- upgrade all apps
choco upgrade all -y
- uninstall app
choco uninstall <APPLICATION_NAME>
Package name autocompletion