How to update apps via winget command on Windows 11

Here's an easier way to updates all your apps quickly on Windows 11.

winget update apps commands
winget update apps commands

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

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

    winget upgrade command

  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

    winget update one app command

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

    winget upgrade command

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

    winget upgrade -h --all

    winget update all apps command

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.

About the author

Mauro Huculak is a Windows How-To Expert who started Pureinfotech in 2010 as an independent online publication. He has also been a Windows Central contributor for nearly a decade. Mauro has over 14 years of experience writing comprehensive guides and creating professional videos about Windows and software, including Android and Linux. Before becoming a technology writer, he was an IT administrator for seven years. In total, Mauro has over 20 years of combined experience in technology. Throughout his career, he achieved different professional certifications from Microsoft (MSCA), Cisco (CCNP), VMware (VCP), and CompTIA (A+ and Network+), and he has been recognized as a Microsoft MVP for many years. You can follow him on X (Twitter), YouTube, LinkedIn and About.me. Email him at [email protected].