Master Windows Package Manager (Winget): Simplify Microsoft Store App and Game Installation on Windows 11 via Command Line

Master Windows Package Manager (Winget): Simplify Microsoft Store App and Game Installation on Windows 11 via Command Line

User avatar placeholder
Written by Dave W. Shanahan

April 12, 2025

Here’s how to use Microsoft’s new shiny Windows Package Manager, winget to search, install, and uninstall apps on Windows 11.

  1. Type winget search {Name or Id} to search for the app you want to install. In this example, I used winget search Microsoft to search for Microsoft applications only.
  2. winget install {Name or Id} to install an app
  3. winget uninstall {Name or Id} to uninstall an app
  4. winget features to view a list of experimental features.
  5. winget settings to open the settings JSON file.
  6. winget list to list all the apps that are installed on your PC.
  7. winget install wingetcreate to install winget-create to submit an app package to contribute to the community repository.
  8. winget export -o {file path} to export a list of all the apps installed on your PC to a file. You can pick the filename, file type and file location to anything you want.
  9. winget upgrade {Name or ID} to update a specific app on your PC. Optionally, you may use the winget list command to identify the application you want to upgrade.
Master Windows Package Manager (Winget): Simplify Microsoft Store App and Game Installation on Windows 11 via Command Line
(Image: Microsoft)

Windows Package Manager, otherwise known as winget-cli, or for short, is an open-source client with a set of tools used to automate installing, upgrading, and managing applications, software, and even games on Windows 10 and Windows 11.

What is Windows Package Manager?

If you use Linux, package managers are more common and offer a more streamlined approach to allow you to install software quickly and easily by using command line. No need to go to a website or dedicated store to download apps and games.

If you use Windows, you probably use Microsoft Store or go to a website to download and install an app. On Windows 10, you can also use two popular package managers Chocolately and Scoop too.

The winget command line tool is bundled with Windows 11 and modern versions of Windows 10 (1809 and up) by default as App Installer from the Microsoft Store. App Installer includes the production version of the winget tool.

To install an app, type out a winget command in PowerShell as an administrator to install the software you want. If you want to find out what kinds of apps are available in winget, there are plenty of winget-cli packages available in the community GitHub repository.

If you’re interested in what kinds of applications you can install, first you need to install Windows Package Manager on your PC.

3 ways to install winget

Microsoft introduced Windows Package Manager preview at Build 2020, there were only two ways to install it. Now, there three methods to install on your Windows 11 PC.

  1. Use a Microsoft Account to sign up for the Windows Insider Dev Channel.
  2. Use a Microsoft Account to sign up for the Windows Package Manager Insiders Program. Once you sign up, your Microsoft Account will be used to update the App Installer app via the Microsoft Store. Master Windows Package Manager (Winget): Simplify Microsoft Store App and Game Installation on Windows 11 via Command Line
  3. Install the Windows Desktop App Installer package located on the Releases page for the winget repository. Installing this package will give you the winget client, but it won’t allow you to get automatic updates from the Microsoft Store.

Search, install and uninstall apps

Once installed, here’s how to search for and find packages to install on your PC.

1. To search for a an app to install using winget

Here’s how to use the winget search {Id} command to find and install apps. Type the following command in PowerShell or Command Prompt as an administrator (as shown in the image below): winget search {Name or ID}

Master Windows Package Manager (Winget): Simplify Microsoft Store App and Game Installation on Windows 11 via Command Line

2. To install a particular app

If you want to install a particular app that is listed, you will need to use the winget install command with the Name or Id of the app. The app Id might be a series of numbers, but the app Id can also be appear as an alternative name for the app or game.

For example, you want to install an app like “Microsoft HoloLens.” To install the app, use the following winget command with the app Id number for Microsoft HoloLens and press Enter:

winget install 9NBLGGH4QWNX

Master Windows Package Manager (Winget): Simplify Microsoft Store App and Game Installation on Windows 11 via Command Line

If entered correctly, Microsoft HoloLens will prompt you to install the app, and you will get a message when your app or game is successfully installed.

Keep in mind, that some apps installed using winget may require you to agree to terms and/or accept license agreements before installing (as shown in the image below).

Master Windows Package Manager (Winget): Simplify Microsoft Store App and Game Installation on Windows 11 via Command Line
Microsoft HoloLens app

3. To uninstall an app

winget uninstall 9NBLGGH4QWNX

One pretty awesome thing about Windows Package Manager is that you can uninstall apps that you didn’t even use winget to install in the first place! Be sure that you have the right Name or Id to avoid removing the wrong app!

3 Advanced winget commands

Besides being able to search, install and uninstall apps using Windows Package Manager, there are a number of winget commands available. Here is a list of winget commands and what they do.

  1. winget settings will take you to your settings JSON file.Master Windows Package Manager (Winget): Simplify Microsoft Store App and Game Installation on Windows 11 via Command Line
  2. winget list will list all the apps installed on your device.
  3. winget install wingetcreate to install WingetCreate, the Windows Package Manager Manifest Creator. If you need more help on the app package submission process, there is a fantastic video walkthrough provided by Demitrius Nelon, Senior Program Manager, APEX PM at Microsoft, who is joined by Muhammad Danish. Master Windows Package Manager (Winget): Simplify Microsoft Store App and Game Installation on Windows 11 via Command Line
  4. Type winget export -o {name of new file} to export the list of apps installed to your PC as a file. You can change or rename the filename, change the file type, and change the location on your PC to whatever you prefer.
  5. Use winget upgrade --all to update all of the apps installed to your PC to their latest versions. It is a fast and easy way to keep all your apps up to date.

Do you use Windows Package Manager or similar package managers on Windows or another operating system? Let us know in the comments!

Related Posts

  1. How to Install Qualcomm Beta Graphics Drivers on Snapdragon X PCs to Get the Best Performance
  2. How (and why) to enable Core isolation’s Memory integrity feature to enhance security on Windows 11
  3. How to turn off Game Mode on Windows 11 and why you need to do it right now
  4. Ultimate guide: Change your background and transform Windows 11 into a stunning workspace
  5. How to quickly check if your Windows PC is running only ARM64 apps for the best performance, efficiency, and battery life

Discover more from Microsoft News Today

Subscribe to get the latest posts sent to your email.

Image placeholder

I'm Dave W. Shanahan, a Microsoft enthusiast with a passion for Windows 11, Xbox, Microsoft 365 Copilot, Azure, and more. After OnMSFT.com closed, I started MSFTNewsNow.com to keep the world updated on Microsoft news. Based in Massachusetts, you can find me on Twitter @Dav3Shanahan or email me at davewshanahan@gmail.com.

1 thought on “Master Windows Package Manager (Winget): Simplify Microsoft Store App and Game Installation on Windows 11 via Command Line”

Comments are closed.