This post is a guide on installing the Chocolatey package manager on Windows by running a PowerShell command.
Chocolatey allows you to manage software packages on your system with simple ‘choco’ commands. In this post after I install Chocolatey I’m installing a GUI to view all installed packages.
Run the following script within PowerShell (as Administrator):
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
Check the version of choco to verify the install, or go ahead and install a package (e.g. choco install git).
Installing a package is done with ‘choco install <packagename>’. There’s about 8,000 maintained packages at the time of writing this. Some of the most popular packages include Chrome, Firefox, Java, Flash, Notepad++, 7zip, Git & Python.
choco install chocolateygui
Now open the Chocolatey GUI application. There will be a shortcut for this in your Start Menu too.
You can uninstall/reinstall packages from the GUI.