How to use the Windows Package Manager to update installed programs at once
#1
Lightbulb 
Quote:
[Image: winget-upgrade.png]
 Microsoft released the first final version of Windows Package Manager just a moment ago. The program adds new options to Windows to install, uninstall and manage programs installed on the system. You can check out the linked review above to find out more about the base functionality of the package manager for Windows.

In this guide, we'll be taking a close look at the upgrade feature that it supports. Unlike most Windows package managers, upgrading is not limited to the programs installed using the package manager, but to all programs installed on the device, provided that they are found in the repository of programs that it uses.

In other words: you can use the Windows Package Manager to update installed Windows programs in one go, with just a single command.

Here is how it works:

First thing you need to do is download the latest version of the Windows Package Manager from the official GitHub repository and install it on the system. It is available for Windows 10 devices only.

Once installed, open an elevated PowerShell prompt, e.g. by using the shortcut Windows-X and selecting Windows PowerShell (admin) from the "secret" menu that opens.

Run the command winget upgrade to get a list of programs for which updates are available. The recognition depends on the repository that is being used.
The default community repository has over 1500 different programs at the time of writing.

Each program is listed with its name, ID, the installed and available version. The available version should be newer than the installed version.
Upgrade all out of date programs on Windows 10 with WingetWhile you can upgrade individual programs using winget upgrade programname, e.g. winget upgrade WizTree, you can also use the winget upgrade --all command to upgrade all out of date programs in one go.

The default option displays the installers of each program, but you may suppress this by adding the -h parameter for silent upgrade installations. Not all programs displays windows or options during installation though.

Each program is downloaded from the linked path, usually the official repository, and then installed on the device.

Once done, rerun the winget upgrade command to check if all upgrades for the outdated programs were installed on the device. Windows 10 users who want to have more control may run upgrades individually instead.

Closing Words

Windows Package Manager is a good option when it comes to upgrading programs that are out of date. Like any other program of its kind, it is limited to the programs that are in its database. While it is possible to create a custom repository and maintain a list of programs using it, it is probably too much work for individuals to do so.

Now You: how do you keep your programs up to date?
...
Continue Reading
[-] The following 1 user says Thank You to harlan4096 for this post:
  • silversurfer
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)
[-]
Welcome
You have to register before you can post on our site.

Username/Email:


Password:





[-]
Recent Posts
Find out if an USB device is fake with f...
Fake USB devices c...harlan4096 — 08:47
Windows 11 KB5048685 Update causes Wi-Fi...
The KB5048685 Upda...harlan4096 — 12:36
Windows 11: issue may prevent further in...
The latest version...harlan4096 — 08:47
Notepad++ v8.7.5 (2024-12-25)
Notepad++ v8.7.5 (...harlan4096 — 08:16
AdGuard for Mac 2.16.2
AdGuard for Mac 2....harlan4096 — 08:13

[-]
Birthdays
Today's Birthdays
No birthdays today.
Upcoming Birthdays
No upcoming birthdays.

[-]
Online Staff
There are no staff members currently online.

>