When the words “Package Manager” are mentioned, it is redolent of the mature and famous Linux tools such as apt for Debian based systems, zypper for OpenSUSE, and yum|dnf for RedHat-based distributions. In conjunction with that, Windows users requested a native package manager developed by Microsft that they can jump on to save their time while installing software and tools. It seems that the plea was heard and something was done about it.

Microsoft has developed winget to help accomplish this feature in the future and what is more amazing about it is that it is an opensource project. Moreover, Windows Package Manager (winget) is a tool designed to help you quickly and easily discover and install those tools that make your PC environment special. By using the Windows Package Manager, from one command, you can install your favorite tool.


In addition to other goodies, winget exposes the following commands and options for the preview.

  • install Installs the given application
  • show Shows info about an application
  • source Manage sources of applications
  • search Find and show basic info of apps
  • hash Helper to hash installer files
  • validate Validates a manifest file
  • –help Provides command line help
  • –info Provides addition data, helpful for troubleshooting
  • –version Provides the version of the client

Install winget

The client is distributed within the App Installer package. While this package is pre-installed on Windows, the client will not be made generally available during the Preview period. In order to get automatic updates from the Microsoft Store that contain the client, one must do one of the following:

Personally, I installed Windows Desktop App Installer package located in the release folder of the winget repository.

To install “winget” directly, head over to winget preview files and download the Microsoft.DesktopAppInstaller .appxbundle file then click on it to install it. Click on “Update

Update ms resource 1

Using winget

winget cli tool can be used with both commandline (cmd) or PowerShell. Launch either of the two as “Administrator” and you are ready to issue the commands below:

  • install: Installs the given application
  • show: Shows info about an application
  • source: Adds, removes and updates the Windows Package Manager repositories accessed by the winget tool
  • search: Find and show basic info of apps
  • hash: Helper to hash installer files. It generates the SHA256 hash for the installer
  • validate: Validates a manifest file for submission to the Windows Package Manager repository
  • help: Displays help for the winget tool commands.

Illustrations shown below

In this section, we are going to see examples of using the winget cli tool.

Search for an application

To see if your applicaction is found in the repositories, issue the command below to search for an application you would wish to install.

winget search notepad
winget searh notepad

Install an application

Issue the command below to install an application.

winget install Notepad++
winget install notepad

Check an application’s information

Issue the command below to see more information about a given application.

winget show Notepad++
winget show notepad

After installation, confirm that your application is installed successfully. Simply search for it in Windows

winget confirm notepadplus

And there it is!


To Finish

There we are at last and we now have winget installed. To continue with the magic, simply start off your PowerShell | Comandline, search for your applications, and get them installed as wonderfully as we have seen. At least we can now live in the terminal while in our Windows Operating Systems. To sum up, thank you for visiting and spending your time on the blog. For more fun, check the guides shared below:

Manage Windows Applications Using Chocolatey Software Management Tool

Install Windows Terminal on Windows 10 | Server 2019

How To Install GitHub CLI (gh) on Linux | Windows

Your support is our everlasting motivation,
that cup of coffee is what keeps us going!

As we continue to grow, we would wish to reach and impact more people who visit and take advantage of the guides we have on our blog. This is a big task for us and we are so far extremely grateful for the kind people who have shown amazing support for our work over the time we have been online.

Thank You for your support as we work to give you the best of guides and articles. Click below to buy us a coffee.


Please enter your comment!
Please enter your name here