How to use windows 10’s package manager “winget”

Windows Package Manager and the winget tool are in public preview and may be substantially modified before they are generally available. Microsoft makes no warranties, express or implied, with respect to the information provided here.

The winget command line tool enables developers to discover, install, upgrade, remove and configure applications on Windows 10 computers. This tool is the client interface to the Windows Package Manager service.

The winget tool is currently a preview, so not all planned functionality is available at this time.

Install winget

There are several ways to install the winget tool:

The winget tool is included in the flight or preview version of Windows App Installer. You must install the preview version of App Installer to use winget. To gain early access, submit your request to the Windows Package Manager Insiders Program. Participating in the flight ring will guarantee you see the latest preview updates.

Install the Windows Desktop App Installer package located on the Releases page for the winget repository.

The winget tool requires Windows 10, version 1709 (10.0.16299), or a later version of Windows 10.

Administrator considerations

Installer behavior can be different depending on whether you are running winget with administrator privileges.

When running winget without administrator privileges, some applications may require elevation to install. When the installer runs, Windows will prompt you to elevate. If you choose not to elevate, the application will fail to install.

When running winget in an Administrator Command Prompt, you will not see elevation prompts if the application requires it. Always use caution when running your command prompt as an administrator, and only install applications you trust.

Use winget

After App Installer is installed, you can run winget by typing ‘winget’ from a Command Prompt.

One of the most common usage scenarios is to search for and install a favorite tool.

To search for a tool, type winget search .

After you have confirmed that the tool you want is available, you can install the tool by typing winget install . The winget tool will launch the installer and install the application on your PC. How to use windows 10’s package manager “winget”

In addition to install and search, winget provides a number of other commands that enable you to show details on applications, change sources, and validate packages. To get a complete list of commands, type: winget –help . How to use windows 10’s package manager “winget”


The current preview of the winget tool supports the following commands.

Command Description
hash Generates the SHA256 hash for the installer.
help Displays help for the winget tool commands.
install Installs the specified application.
search Searches for an application.
show Displays details for the specified application.
source Adds, removes, and updates the Windows Package Manager repositories accessed by the winget tool.
validate Validates a manifest file for submission to the Windows Package Manager repository.


The current preview of the winget tool supports the following options.

Option Description
-v,–version Returns the current version of winget.
–info Provides you with all detailed information on winget, including the links to the license and privacy statement.
-?, –help Shows additional help for winget.

Supported installer formats

The current preview of the winget tool supports the following types of installers:

  • EXE
  • MSIX
  • MSI

Scripting winget

You can author batch scripts and PowerShell scripts to install multiple applications.

When scripted, winget will launch the applications in the specified order. When an installer returns success or failure, winget will launch the next installer. If an installer launches another process, it is possible that it will return to winget prematurely. This will cause winget to install the next installer before the previous installer has completed.

Missing tools

If the community repository does not include your tool or application, please submit a package to our repository. By adding your favorite tool, it will be available to you and everyone else.

Customize winget settings

You can configure the winget command line experience by modifying the settings.json file. For more information, see Note that the settings are still in an experimental state and not yet finalized for the preview version of the tool.

Open source details

The winget tool is open source software available on GitHub in the repo The source for building the client is located in the src folder.

The source for winget is contained in a Visual Studio 2019 C++ solution. To build the solution correctly, install the latest Visual Studio with the C++ workload.

We encourage you to contribute to the winget source on GitHub. You must first agree to and sign the Microsoft CLA.

Windows 10 users have longed for a good package manager and they have always used third-party package managers such as chocolaty. Even though third-party package manager provides stable and up-to-date software solutions, they always lag in providing performance. Along with Windows 10, Microsoft has rolled out the all-new open-source package manager widget. It comes with a command-line interface and a set of services for installing applications. In this article, we shall be discussing on the all-new windows manager, “winget.” With the addition of Winget to the Windows family, the operating became more productive and leaning towards the world of openness.

Why a package manager?

To install a piece of software, we typically follow the below steps without a package manager,

  • Search for the downloadable options for the software in the browser
  • Download the runnable file.
  • Start the installation process. It is most likely that you’ll face some problem during the installation process or you need to perform some extra steps to configure the app.
  • You will again search for the solutions for the above problems on the internet. And most likely you’ll fall into the loop, and you might have to go through the above process multiple times to finish the setup and configuration.

What’s the solution then?

The answer to all your worries and problems is “Package manager”. You can easily skip most of the above steps for making an app ready for use.

What is a package manager?

The package manager or package management tool fastens the overall software installation, upgradation, configuration and removal process in your system in a consistent manner. You don’t need to worry about from where you need to download the software; you don’t need to think about the upgradation and configuration process. A package manager essentially automates the steps mentioned above and makes the software configuration part a lot easier and accurate.

How To Install Winget in Windows 10?

To install the all-new package manager, you need to have atleast Windows 10 build 1709 or higher version. If you have a compatible Windows machine, then let us install the Winget package manager.

Visit this link to open the GitHub link of Winget.

Under the Releases section, click the latest release link.

How to use windows 10’s package manager “winget”

Scroll down and look for the appxbundle file as mentioned below. Click the file link to download the latest release of Winget installable bundle.

How to use windows 10’s package manager “winget”

Once the file is saved, open it, and you shall be able to see the below screen highlighting the publisher and capabilities. Click the Update button to continue with the installation.

How to use windows 10’s package manager “winget”

You can verify the installation by typing “winget -v” in your command prompt.

How to use windows 10’s package manager “winget”

Congratulations we have successfully installed the winget windows package manager. It’s time to explore the package manager and the supported commands. You can use the winget package manager either in command prompt or in Power shell.

Getting familiar with Winget Commands:

To search for a software product in winget, you need to use the search command as mentioned below,

How to use windows 10’s package manager “winget”

To install a software product using the winget package manager, you need to use the install command as mentioned below,

How to use windows 10’s package manager “winget” How to use windows 10’s package manager “winget”

You shall be able to see “Successfully installed” at the end of your command line interface. The whole process is completely automated and defnitely a great extension to the Windows Operating System.

Unfortunately, this is the end of this article and so are the functionalities of the Winget. Winget is still in the development phase, and as it is an open-source tool, please take a look into the codebase and contribute. In this article, we have walked you through the all-new windows package manager, “winget” and also discussed it’s available commands to install softwares automatically without any GUI interaction.

How to use windows 10’s package manager “winget”

About Harsit Mohapatra

Harsit Mohapatra is a full-time Software Engineer passionate and hungry for tech updates and knowledge. Besides being a crazy software developer, he is an avid traveller and loves capturing the things that give him a perception through his lenses