Install Chocolatey

How to install Chocolatey

Who doesn’t know the drill? After installing a computer you need to make it usable, install some extra software. This typically includes things like a pdf reader, an extra browser, a compression tool, etc…

Instead of manually downloading and installing these tools we should automate this. Luckily there is Chocolatey.

To install Chocolatey, run this command in an administrative cmd or powershell box:

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

After that, restart your shell (cmd or powershell) in administrator mode and run the choco command.

An example for a new computer could be something like this:

choco install googlechrome, firefox, winrar, foxitreader, spotify

Enjoy!

Avatar
Sven de Windt
Systems Administrator

Systems engineer with an intrest in automation

comments powered by Disqus