Windows users can simply download and install most open source and freeware apps right from the Command Prompt or PowerShell by just writing a simple command using a special Windows package manager.
Chocolatey is a software management automation package that allows you to do unattended installation. In this post I am going to show you how to install it on your Windows machine.
How to Install Chocolatey
First you will need to connect to the Internet to be able to download Chocolatey.
Run the Command Prompt or PowerShell as administrator.
If you’re using CMD, copy and paste the command below on CMD. Press Enter and allow it to install.
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
If you’re using PowerShell, copy and paste the command below on PowerShell. Press Enter and allow it to install.
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
How To Use Chocolatey
After successfully installing Chocolatey, now let’s look at how to use it. Just like how you would use the sudo apt-get command on Linux, you will have to use choco install/upgrade/uninstall/search to install, upgrade, uninstall or search for an app.
To install an App
To search for an App
To uninstall an App
You may need to approve it before it’ll run the script by typing [y] without the square brackets and hitting Enter when prompted.
You can check for more chocolatey packages using this link https://chocolatey.org/packages
For documentation use this link https://chocolatey.org/docs
I just hope this post was helpful, thanks for reading and don’t forget to subscribe. See you on the next post.
Subscribe to Blog via Email
You may also want to read…
Ousman Faal [Digital Vigilante] is a Tech Entrepreneur & Digital Skills Trainer who teaches both in the classroom and online. He has experience in various technologies and likes sharing it with others. Ousman has published 144 articles on this blog. He is the CEO of Faalen Technologies and Skills.gm.