Tools: Chocolatey – Windows Package Manager

Chocolatey is a Package Manager built for Windows and is by far the easiest way to get your fresh installation of windows up and ready to go.

Why use a package manager?

Chocolatey allows for the silent installation, configuration, upgrade, and uninstallation of software on your windows machine. This makes it great for setting up a new PC with the applications and tools required with minimal effort.

This post will focus on the home use of chocolatey, but for those in business/enterprise situations take a look at Chocolatey for Business for integration into a number of automation tools.

Getting Started

Getting started with chocolatey couldn’t be easier, open a powershell windows as an administrator (right click the powershell icon and select “Run as Administrator”). Run the following command.

Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))

Installing Applications

Installing an application is as simple as one line of powershell, see below for an example utilizing VLC, a popular media player.

choco install vlc

Updating Applications

Applications can be updated individually, however the below line with update all applicable software.

choco upgrade all

Uninstall Applications

Chocolatey can also be used to uninstall Applications you longer need.

choco uninstall vlc

Chocolatey + Easy2Boot

Easy2Boot (My favourite MultiBoot USB) have recently introduced Chocolatey into their tool. This allows you to automate the installation of Chocolatey and your favorite software post Windows Installation. This can be done both via the online packages or offline utilizing ChocoBox.

Check out post on Easy2Boot over here, instruction on how to integrate chocolatey can be found on the Easy2Boot website over here.

Wrapping Up

Before Chocolatey, Ninite was my tool of for setting up a brand new PC. But with my love for a minimalistic approach and being a command line geek, Chocolatey has won me over.

Chocolatey makes the installation, configuration, upgrade, and uninstallation a breeze. I use it without a doubt for every fresh installation of windows I do. I hope you find it as useful as have.

Leave a Reply

Your email address will not be published. Required fields are marked *