Getting started with Chocolatey

What is Chocolatey?

Every time you work on a Linux machine, you can quickly install applications using apt-get or yum. When you switch to Windows and have to install an application like Notepad++ or 7-Zip, you go to the website, find the right version, download the file and go through the installation.

Imagine if you are setting up a new computer, you would have to install multiple applications. On any computer, you typically install applications like Google Chrome, Firefox, Adobe Reader, 7-Zip, Skype, etc. You would have to go to multiple websites, download the installers and install them one at a time. Now imagine if you were to set this up on multiple computers. Chocolatey is an answer for these issues.

Chocolatey is a package management solution for Windows.

How to install Chocolatey?

  • Open PowerShell Window as an Administrator and run the script below

Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString(''))

  • Upgrade the chocolatey version

choco upgrade chocolatey

How to install an application?

To install Notepad++, run the following command.

choco install notepadplusplus

For more information, please visit Chocolatey at