How to update apps via winget command on Windows 11 - Pureinfotech (2024)

On Windows 11, you can quickly update one or all your apps with a single command using the Windows Package Manager (winget) command-line tool without the need for the Microsoft Store.

Although you can update apps individually, it takes many steps and a long time to update them. The Windows Package Manager is a command-line tool alternative to installing and maintaining apps. The tool is designed to save you time and frustration by automating the process of searching, downloading, installing, updating, and configuring virtually any app, including Microsoft Store apps, traditional (win32) programs, and web apps that you originally acquired using the Windows Package Manager.

In this guide, you will learn the steps to download and install updates for apps on Windows 11 without the Microsoft Store using the Windows Package Manager (winget) command-line tool.

  • Update an app on Windows 11 from winget
  • Update all apps on Windows 11 from winget

Update an app on Windows 11 from winget

To update an app using the winget command, use these steps:

  1. Open Start on Windows 11.

  2. Search for Command Prompt (or PowerShell), right-click the top result and select the Run as administrator option.

  3. Type this command to list all the apps with updates on Windows 11 and press Enter:

    winget upgrade

    How to update apps via winget command on Windows 11 - Pureinfotech (1)

  4. Type this command to update the app and press Enter:

    winget upgrade -h --id APP-ID

    In the command, change the APP-ID for the ID of the app to install on Windows 11. The -h option runs the installer silently, hiding all UI. However, if elevation is needed, you will still get the prompt. For example, this command updates the PowerToys app to the latest release.

    winget upgrade -h --id Microsoft.PowerToys

    How to update apps via winget command on Windows 11 - Pureinfotech (2)

Once you complete the steps, the application will update to the latest version available from the Windows Package Manager repository.

If you prefer the traditional methods, you can update your apps with the Microsoft Store or manually through the app’s settings.

Update all apps on Windows 11 from winget

To update all apps with a single command using winget, use these steps:

  1. Open Start.

  2. Search for Command Prompt (or PowerShell), right-click the top result and select the Run as administrator option.

  3. (Optional) Type this command to list all the apps with updates on Windows 11 and press Enter:

    winget upgrade

    How to update apps via winget command on Windows 11 - Pureinfotech (3)

  4. Type this command to update all the apps to their latest versions and press Enter:

    winget upgrade -h --all

    How to update apps via winget command on Windows 11 - Pureinfotech (4)

After you complete the steps, the winget tool will download and install the updates for all the apps installed on Windows 11.

Using this method, you can only update apps installed using the Windows Package Manager. Applications installed from different sources won’t update through this process. Also, if you, later on, update the app using the other update technology, you will lose the ability to update the app through the Windows Package Manager.

This guide focuses on Windows 11, but the tool will also work on the latest release of Windows 10.

How to update apps via winget command on Windows 11 - Pureinfotech (2024)
Top Articles
Latest Posts
Article information

Author: Velia Krajcik

Last Updated:

Views: 6311

Rating: 4.3 / 5 (74 voted)

Reviews: 81% of readers found this page helpful

Author information

Name: Velia Krajcik

Birthday: 1996-07-27

Address: 520 Balistreri Mount, South Armand, OR 60528

Phone: +466880739437

Job: Future Retail Associate

Hobby: Polo, Scouting, Worldbuilding, Cosplaying, Photography, Rowing, Nordic skating

Introduction: My name is Velia Krajcik, I am a handsome, clean, lucky, gleaming, magnificent, proud, glorious person who loves writing and wants to share my knowledge and understanding with you.