In this article, we will learn How to Update Installed Programs in Windows 10 Using Windows Package Manager. So, let’s look at a short instruction on how to use Windows Package Manager (winget) to update installed programs in Windows 10.
Windows Package Manager (winget) – package manager for convenient automation of installation, update, and program management processes.
Most recently, Microsoft released the first final version of the Windows Package Manager application. The latest version of winget adds new features to Windows for installing, uninstalling, and managing programs.
More details about: Windows Package Manager (winget)
Windows Package Manager (winget) is a new console application manager for Windows. With Windows Package Manager, you can automate the installation and update of programs by using commands in Windows PowerShell or Windows Terminal.
Windows Package Manager works similarly to package managers on Linux operating systems. The utility is managed from the command line, and applications are automatically downloaded from the repository and installed on the computer. Depending on the application you are installing, startup shortcuts may be created on the desktop and start menu.
Each available application is checked by SmartScreen Filter and static analyzer. Also, manifests, hash, and several other parameters are checked to limit the entry of malicious software into the repository.
Windows Package Manager will be a handy tool for users and system administrators who are used to managing applications from the Linux terminal. The preview version of WinGet supports the following commands:
winget install– installation of the specified application
winget show– displaying information about the application
winget source– application source management
winget search– displaying a list of all or specific applications
winget hash– hashing of installer files
winget validate– to approve the manifest file
In this guide, we’ll take a closer look at the Software Update feature. Unlike most Windows package managers, Windows Package Manager has a significant advantage – the update is not limited to programs installed using the package manager. Windows Package Manager allows you to update programs installed from any source, but these programs must be in the Windows Package Manager repository.
In addition, the Windows Package Manager (winget) can update installed programs with just one command.
How to update installed programs using Windows Package Manager (winget)
The first thing you need to do is download and install the Windows Package Manager. You can download it from Github. Keep in mind, winget only supports the Windows 10 operating system.
After winget is installed, open PowerShell as an Administrator or use the Windows Terminal utility.
Run the command: winget upgrade to get a list of programs for which updates are available. Recognition of installed programs depends on the repository used. The default community repository at the time of writing contains more than 1500 different programs.
Each program has a name, ID, installed, and available version. The available version must be newer than the version installed.
Update all legacy programs in Windows 10 with Winget
Although you can update individual programs using the winget upgrade command on_program, for example:
winget upgrade Mozilla.Firefox
You can also use the command to update all legacy programs at a time with a single command.
winget upgrade --all
The default setting displays each program’s installers, but you can add the -h option to install the update silently. However, not all programs show windows or options during installation.
The command to silently install the update of all supported programs will look like this:
winget upgrade --all -h
After updating the programs, run the command: winget upgrade again to check if all updates for legacy programs have been installed on the device. Windows 10 users who want more control can run updates individually instead of updating all programs with a single command.
Conclusion: How to Update Installed Programs in Windows 10 Using Windows Package Manager
Windows Package Manager is a good solution for updating legacy programs. Like any other program of its kind, it is limited to the programs in its database. Although you can create your repository and maintain a list of programs that use it – it requires too much work.