How to use winget to install Microsoft Store applications

Martin Brinkmann
Oct 15, 2021
Windows 11 Help
|
6

Microsoft released Windows Package Manager 1.1 earlier this month. The new version of the package manager, known as winget by its users, is available for Windows 10 version 1809 and newer, and for Windows 11. The big new feature of the release is that Microsoft added its own Microsoft Store as a source to the Windows Package Manager.

Up until now, users got a single source of curated Windows programs when they used the default Windows Package Manager functionality. Now, it is that list plus everything that is in Microsoft Store.

A year back, a feature that would add Microsoft Store as a source, would not have garnered much enthusiasm from users. Now, with Microsoft Store accepting Win32 programs next to UWP apps, it may very well be seen as an exciting improvement, at least by users and administrators who don't refuse to use the Microsoft Store at all.

Windows Package Manager 1.0 was released in May 2021. Microsoft announced in June 2021 that it would tighten the submission rules.

Windows Package Manager 1.1 and Microsoft Store

With Windows Package Manager 1.1 installed, Windows users may search, install, and upgrade applications from Microsoft's Store.

  1. First thing you need to do is open a command prompt window. Open Start, type cmd, and select the result to open a Command Prompt window. You may also open an elevated command prompt window; if you do, you won't get elevation prompts if applications require it.
  2. Run the command winget --version to see if you get a version returned.
    1. If you get version 1.1.12653 or higher, you are all set.
    2. If you get an earlier version, you need to update it. You can update it from the Microsoft Store, it is part of App Installer, if you are an Insider, or by downloading it using the instructions under 3).
    3. If you get an error returned, you need to install the Windows Package Manager on the system before you can use it. It is available on the Microsoft Store or as a direct download from the project's GitHub repository.
  3. Run the command winget search sysinternals to find any result that matches the search term. You can replace "sysinternals" with any other search term, but for the sake of this tutorial, let us assume you want to install the Sysinternals Suite of tools from Microsoft Store using winget.
  4. Windows Package Manager returns all matching applications that are found on the community list or Microsoft Store.
  5. The core installation command is winget install NAME/ID. You can use the name or the ID of the package to install, uninstall or upgrade it.
    1. Run winget install "sysinternals suite" to install the Microsoft Store version. Note that you need to use ".." if the name has a space or multiple space characters.
    2. Run winget install 9P7KNL5RWT25 to install it as well.
  6. Accept the agreement.

The application is then installed automatically, and ready for use once it has been installed on the device.

You may find the following commands useful:

  • To find out whether a program is available on the Microsoft Store: winget search "Name of Program" -s msstore
  • Display all sources: winget source list
  • To remove a source: winget source remove SOURCENAME, e.g. winget source remove msstore
  • To update all apps: winget upgrade --all

Closing Words

It may be faster to install, uninstall or upgrade applications using winget, than using Microsoft Store or the Settings application for that.

Windows 10 or 11 users who don't use the Microsoft Store may remove it as a source and use the Windows Package Manager with the default repository.

Now You: do you use or plant to use the Windows Package Manager?

Summary
Article Name
How to use winget to install Microsoft Store applications
Description
Find out how to use the Windows Package Manager to install applications from the Microsoft Store.
Author
Publisher
Ghacks Technology News
Logo
Advertisement

Tutorials & Tips


Previous Post: «
Next Post: «

Comments

  1. Sunny said on October 17, 2021 at 10:39 pm
    Reply

    Any thoughts on how to create a script to batch install a bunch of apps?

    1. Anonymous said on March 17, 2023 at 3:56 am
      Reply

      1. Open Notepad

      2. Start writing like this
      winget install app1
      winget install app2
      winget install app3

      >> If you need help finding the proper name for the app you want to install, try “winget search handbrake” for example

      3. Save the file as my-installer.bat

      4. Run the batch file (google if you need help with this)

      Also for anyone stumbling onto this, check out “chocolatey”, it’s a package manager that includes everything from winget plus additional sources

  2. digital coaching said on October 17, 2021 at 4:17 pm
    Reply

    if brought files app for changed the explorer appareance and apply dark mode its perfect.

  3. ULBoom said on October 15, 2021 at 11:49 pm
    Reply

    “do you use or plant to use the Windows Package Manager?”

    No. I know what it is but have no idea why it exists and doubt it will be developed (this time) very far.

    Another MS version of “Why does a dog lick its …” Because it can.

  4. Sir_Timbit said on October 15, 2021 at 6:16 pm
    Reply

    When I try winget install “sysinternals suite” I get the prompt to accept the agreements, but then it conks out with “Verifying/Requesting package acquisition failed: no store account found”
    It did install OK from the Microsoft store however.

    1. Anonymous said on October 15, 2021 at 11:38 pm
      Reply

      I just download it from the website.

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

We love comments and welcome thoughtful and civilized discussion. Rudeness and personal attacks will not be tolerated. Please stay on-topic.
Please note that your comment may not appear immediately after you post it.