Download and Install Apps in Windows Using CMD

(Last Updated On: )

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 upgrade 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

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

You may also want to read…

https://faalictacademy.com/tips/how-to-host-a-static-html-website-on-github

Likes:
Views:
21268
Article Tags:
Article Categories:
TipsWindows

Leave a Reply

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

error: Content is protected !!