Our systems usually tell us when OS components need updating but many programs do not unless we check our installs and go through the website or are prompted when we start them. Following the Unix and Linux world, Microsoft has finally caught on to something very useful. By using the PowerShell winget command, applications and Windows software that's not normally updated unless we check can be updated somewhat easily.
To use the winget command, you need to open a command prompt using Admin rights.
Right-click on the start-button icon and click on Terminal (Admin).
Confirm you want to do this when prompted by clicking OK.
At the command line, type in winget list update and press enter.
A screen something like this will appear:
A list will show what the system thinks can be updated this way. Most things can but there are some that can't such as the Discord application.
To update an item from the list, you type Winget update application Id found in the middle column like this:
winget update Microsoft.VCRedist.2015+x64 and press enter. (The ones listed above don't have an available update but are shown anyway. The 2015+ version had an update earlier.)
The process runs and a progress bar appears. For some applications, the regular Windows install wizard appears while others are updated silently.
Using the up-arrow on the keyboard, the command history can be edited and the program name can be changed to update that program.
Once done, close the window by clicking on the X.
I recommend rebooting afterwards if needed.
There are other command options to use but these are the ones I use for now.
Why did I use this command initially?
I was repairing an issue on my brother's laptop and a tech website recommended updating some programs this way. Now I use it all the time for all my systems.
To use the winget command, you need to open a command prompt using Admin rights.
Right-click on the start-button icon and click on Terminal (Admin).
Confirm you want to do this when prompted by clicking OK.
At the command line, type in winget list update and press enter.
A screen something like this will appear:
Code:
Name Id Version Available Source
-----------------------------------------------------------------------------------------------------------------------
Microsoft Visual C++ 2013 Redistributable (x64) - 12.0.30… Microsoft.VCRedist.2013.x64 12.0.30501.0 12.0.40664.0 winget
Microsoft Visual C++ 2013 Redistributable (x86) - 12.0.40… Microsoft.VCRedist.2013.x86 12.0.40660.0 12.0.40664.0 winget
Python Launcher Python.Launcher < 3.12.0 3.12.0 winget
Microsoft Visual C++ 2013 Redistributable (x64) - 12.0.40… Microsoft.VCRedist.2013.x64 12.0.40660.0 12.0.40664.0 winget
Microsoft Visual C++ 2013 Redistributable (x86) - 12.0.30… Microsoft.VCRedist.2013.x86 12.0.30501.0 12.0.40664.0 winget
6 upgrades available.
The following packages have an upgrade available, but require explicit targeting for upgrade:
Name Id Version Available Source
-------------------------------------------------
Discord Discord.Discord 1.0.9030 1.0.9035 winget
A list will show what the system thinks can be updated this way. Most things can but there are some that can't such as the Discord application.
To update an item from the list, you type Winget update application Id found in the middle column like this:
winget update Microsoft.VCRedist.2015+x64 and press enter. (The ones listed above don't have an available update but are shown anyway. The 2015+ version had an update earlier.)
The process runs and a progress bar appears. For some applications, the regular Windows install wizard appears while others are updated silently.
Using the up-arrow on the keyboard, the command history can be edited and the program name can be changed to update that program.
Once done, close the window by clicking on the X.
I recommend rebooting afterwards if needed.
There are other command options to use but these are the ones I use for now.
Why did I use this command initially?
I was repairing an issue on my brother's laptop and a tech website recommended updating some programs this way. Now I use it all the time for all my systems.