Chocolatey is a popular package manager for Windows. It has a large selection of packages, including end-user applications and development tools.
I like to keep a list of packages that I use and install regularly, which allows me to very quickly get a machine up and running the way I like it, and requires very minimal effort to keep up to date. But I don't have to mess around with it too often, and so I never seem to remember the commands to run.
Here, then, is a handy reference of the commands I use most frequently:
start https://chocolatey.org/
choco list --local-only
choco install PACKAGE
choco install PACKAGE --confirm
choco upgrade PACKAGE
choco upgrade all
choco outdated
choco uninstall PACKAGE
choco info PACKAGE
$env:ChocolateyInstall
$env:ChocolateyToolsLocation
On paths, note for example that for many packages with command line tools, you can run them with commands such as &"$env:ChocolateyInstall\bin\sqlite3.exe"
or &"$env:ChocolateyInstall\bin\runemacs.exe"
.
Happy package management!
Tags: checklist