How to Update Applications Using Winget in Command Prompt (Admin)

Step-by-Step Instructions for Listing and Installing Application Updates

Introduction

This guide provides detailed instructions on how to use the Windows Package Manager (winget) to list and install available application updates on your Windows computer. The process involves opening the Command Prompt as an administrator, checking for updatable applications, and then installing all available updates.

Step 1: Open Command Prompt as Administrator

1.      Click the Start menu or press the Windows key on your keyboard.

2.      Type cmd or Command Prompt in the search bar.

3.      Right-click on Command Prompt from the search results and select Run as administrator.

4.      If prompted by User Account Control (UAC), click Yes to allow.

Step 2: List Applications Available for Update

1.      In the Command Prompt window, type the following command and press Enter:

2.      winget upgrade

3.      This command will display a list of installed applications that have updates available.

Step 3: Install All Available Application Updates

1.      To update all applications that have updates available, type the following command and press Enter:

2.      winget upgrade --all

3.      Winget will now download and install updates for all listed applications automatically.

4.      Wait for the installation process to complete. You may see progress information for each application as it updates.

Additional Notes

·         Some applications may require you to close them before the update can be installed.

·         If you only want to update a specific application, you can use winget upgrade  , replacing   with the actual application name as listed by the winget upgrade command.

·         Running Command Prompt as administrator ensures that updates can be installed without permission issues.

Conclusion

Using winget in Command Prompt as an administrator is a quick and efficient way to keep your applications up to date. Regular updates help improve security and functionality for your installed software.