Chocolatey is command line package manager for Windows just like Google Play Store in your phone but it does not come with graphical user interface. However, there’s optional user interface available for those who needed.
Why Chocolatey is useful.
Having a package manager, makes installs of my most used software, that much easier. It is a great way to keep track of the software you have and which version of that software you are on. So installing Chocolatey is going to be what I do when set up windows for the first time.
Installing Chocolatey from Powershell
1. Run Powershell as Administrator.
2. Copy & paste the following command into Powershell:
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’))
3. Wait for the command to complete.
4. You don’t see any errors, you can start using chocolatey.
Before you start using chocolatey, I usualy start by disabling confirmation feature by running this command:
choco feature enable -n allowGlobalConfirmation
To find a package in command line use:
To install a package:
To install multiple packages:
cinst googlechrome 7zip mpcbe
To ignore dependencies during install
cinst paint.net -i
To uninstall a package:
To update all installed packages:
To list all installed packages: