In this tutorial we are going to how to update Windows apps via Winget command, using this method you can update all the apps quickly and efficiently.
What is Winget Command?
Windows Package Manager also known as Winget is a comprehensive package manager solution that consists of a command-line tool and a set of services for installing applications on windows 10/11. Developers use this command-line tool to discover, install, upgrade, remove, and configure a set of applications. You can access Winget via Windows terminal, PowerShell, and the Command Prompt. Developers were happy about this tool because this is an easy way to install apps in bulk. Winget is very useful for IT administrators, using this command-line tool you can easily create a script to install apps and programs in bulk. This tool is the client interface to the Windows Package Manager service. There are two versions of the Winget client available, Production and Preview.
The production version of Windows Package Manager is installed by default via the App Installer, The Winget command line tool support only on Windows 10 1709 or later.
Update Windows apps via Winget command:
In Windows 11, apps will update automatically, or if you want to update any app individually, then you could use the Microsoft Store. Updating all apps in Windows is a time-consuming process, Winget command-line tool is designed to save your time, this tool will automatically search, download and install the updated version of the app. This article will guide you to Update Windows apps via Winget command in Windows 11.
Install Winget:
Before proceeding to update all apps in Windows, first, you need to Install the Winget. Follow the Procedure to Install the Winget.
Update Individual Windows apps:
Open command prompt or PowerShell in elevated mode, click on the start menu and search for the command prompt or PowerShell, right-click on it and choose Run as administrator.
Now type the following command to list all the apps with updates on Windows 11.
Winget upgrade
This command will list out all the available app updates, you can see the Name, App ID, current version, and Available Version.
Now type the following command to update the particular app.
Winget upgrade -h –id APP-ID
In this command, you need to replace the APP-ID with the actual App ID which you need to update. You can get the APP-ID from the previous command, replace the APP-ID in this command. The -h command runs the installer silently by hiding all UI. The actual command would look like this.
Winget upgrade -h – id ShareX.ShareX
Type the command and hit enter, this command upgrades the ShareX app.
Update all Windows apps:
To update all apps in a single command using Winget, follow the below-mentioned steps.
Open command prompt or PowerShell in elevated mode, click on the start menu and search for the command prompt or PowerShell, right-click on it and choose Run as administrator.
Now type the following command to list all the apps with updates on Windows 11.
Winget upgrade
Type the following command to update all the apps to their latest version.
winget upgrade -h –all
This command will download and install available updates for all the apps installed on Windows 11.