/ Automation

Windows users, why aren't you using Chocolatey?

I mean, come on. Why wouldn't you want a package manager. Anyone that has done anything with Linux knows that this is how stuff should work. You shouldn't need to download and manually install anything anymore, we're living in the freaking future!

Well, Windows users shant no more know the hardship of manually installing softwares because of Choco! Or, rather Chocolatey. This doesn't only install the apps you want but it also installs the prerequisites.

Chocolatey is a packet manager for Windows that basically just utilize PowerShell to install stuff from a repository. There are, at the moment of writing, 5 847 different packages available through Chocolatey. This is not a whole lot compared to other package managers but those are system defaults, while Chocolatey is something you have to go out of your way to install.

You can find all the packages available for Chocolatey on their website.

Installing and using Chocolatey

Open PowerShell (as an administrator) and run the following:

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

This will install Chocolatey and from now on you can use choco to search for and install packages. Some examples below.

# Search for app
choco search keybase
# Get information about the package
choco info keybase
# Install said app
choco install keybase

I'll leave this one short and sweet, just like chocolate.

Windows users, why aren't you using Chocolatey?
Share this

Subscribe to destruktive.one