top of page

Package Manager for Windows => Chocolatey

As you probably know, Windows has released its own package manager "winget" which comes as a built-in of Windows 11 but before that, or if you have other needs or preferences, you can use a third-party tool such as the one that I am going to present to you today: Chocolatey


Why Chocolatey:

Chocolatey is a software management solution unlike anything you've ever known on Windows. Chocolatey brings the concepts of true package management to allow you to version things, manage dependencies and installation order as well as better inventory management and lots of other cool features.


Installation:

First, we'll check your settings in PowerShell.

Open a PowerShell window as administrator and run the following command:

Get-ExecutionPolicy

If you get "Restricted" then run one of the following commands to authorize the execution of PowerShell scripts.

Set-ExecutionPolicy AllSigned 

or

Set-ExecutionPolicy Bypass -Scope Process

Once these first checks have been completed, use the following command to install Chocolatey:

Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))

Install packages:

To install packages and start using Chocolatey, nothing could be simpler, you go to this link and search for the packages that interest you:


Example: Install Adobe Reader


choco install adobereader

Nothing could be simpler! Enjoy! 😁


ps: I wrote an article on the Windows package manager, you will find it here .

0 views
bottom of page