Quick update

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 via winget

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.

Although you can update apps individually, it takes a lot of steps and a long time to update them all. The Windows Package Manager is a command-line tool alternative to install and maintain 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 using the Windows Package Manager (winget) command-line tool.

Update an app on Windows 11 using winget command

To update an app using 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 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 Firefox browser to the latest release.

    winget upgrade -h --id Mozilla.Firefox

    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.

Update all apps on Windows 11 using winget command

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.

It’s important to note that you can only update apps you installed using the Windows Package Manager. Applications that you installed from different sources won’t be updatable through this process. Also, if you, later on, update the app using the different update technology, you will also lose the ability to update the app through the Windows Package Manager.

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