winjer
Gold Member
With the recent issues with HWInfo and CPUID getting hacked and their installers replaced with malware, I remembered I was not affected despite using the latest version. And the reason is that I update most of my apps using Winget.
I have been using Winget for several years now, and I would say it's one of the best things Microsoft has ever done.
So the question is what is Winget? It's a repository for applications, made by Microsoft, similar to what Linux is doing for a few decades.
This means programs are submitted, vetted, analyzed and scanned, before being made available in the repository. This ads a new security layer to installing and updating our apps.
It only works in a command line interface, such as Powershell. So it requires inputting a few commands, but after that, it becomes much easier to manage and update.
Winget comes pre-installed with Windows 10 and Windows 11, except LTSC versions, so chances are you already have it.
To use, just open Powershell and start writing. If a program requires elevation to install or update, a prompt will show up asking for the password. Otherwise, it will install everything automatically.
So for example, if I want to install a browser such as Brave, I just write in Powershell.
Other usefull commands are:
This will tell the Winget version you have installed
This will list all apps you have installed
The most useful command is the one to update all the apps. This will find and list all the apps that you have installed on your PC, even those that were previously installed manually, and update them.
The only caveat is that it will only update apps that are in the repository. So there is a chance that some minor apps will not be updated.
But Winget will update all of them, one by one, automatically, with little to no user effort. For most people, this is the command you will use most often.
You can use the Powershell console to search the repository. But it's easier to use the Microsoft site for WInget:
winget.run
I have been using Winget for several years now, and I would say it's one of the best things Microsoft has ever done.
So the question is what is Winget? It's a repository for applications, made by Microsoft, similar to what Linux is doing for a few decades.
This means programs are submitted, vetted, analyzed and scanned, before being made available in the repository. This ads a new security layer to installing and updating our apps.
It only works in a command line interface, such as Powershell. So it requires inputting a few commands, but after that, it becomes much easier to manage and update.
Winget comes pre-installed with Windows 10 and Windows 11, except LTSC versions, so chances are you already have it.
To use, just open Powershell and start writing. If a program requires elevation to install or update, a prompt will show up asking for the password. Otherwise, it will install everything automatically.
So for example, if I want to install a browser such as Brave, I just write in Powershell.
winget install -e --id Brave.Brave
Other usefull commands are:
This will tell the Winget version you have installed
winget --version
This will list all apps you have installed
winget list
The most useful command is the one to update all the apps. This will find and list all the apps that you have installed on your PC, even those that were previously installed manually, and update them.
The only caveat is that it will only update apps that are in the repository. So there is a chance that some minor apps will not be updated.
But Winget will update all of them, one by one, automatically, with little to no user effort. For most people, this is the command you will use most often.
winget upgrade --all
You can use the Powershell console to search the repository. But it's easier to use the Microsoft site for WInget:
Download and install packages by Brave Software Inc with winget
View packages by Brave Software Inc on winget.run
Last edited: