As a Windows user, I envy Linux users because they have a package manager like APT to install their software from the command line without touching UI. On May 13, 2020, Microsoft introduced the 'Winget' that ends an ear. In this post, I will look at some features and powers of 'Winget'.
What is 'Winget'?
Winget is an open-source package manager tool that since 2020, Microsoft has developed to add a tool that other competitors possessed. And it was added to windows 10 and newer versions after passing the alpha and beta stages. Winget can install and upgrade software from the windows command line.
Find applications on winget
Users can lock up to the winget application list by using
winget search like this
winget search vscode
Which returns that has application's full name, winget Id, version and source
Installing applications by Winget
after finding your needed application on winget you can install it by the
winget install APPNAME|APPID command, which you replace the
APPNAME|APPID by the app's name or app Id that saw in the finding section (I suggest you use
APPID rather than
APPNAME). After entering the command, Winget downloads the application's installer and installs it. Also, windows may show an alert about Installing permission that to install the software user must accept it. For example, I installed .Net SDK version 6 with winget.
winget install Microsoft.DotNet.SDK.6
Winget has two futures about upgrading apps. First, it can show which apps need to upgrade.
On top of that, you can upgrade your installed apps by a command like installing them.
winget upgrade Microsoft.WindowsPCHealthCheck
Also, Winget can upgrade all apps with this command.
winget upgrade --all
To make a long story short, Winget has many features on top of what I explained, such as host own private Windows Package Manager repository or adding your application to the public Package Manager. If you want information about it, add a comment about it. Also, I am here to help you, if you got an error tell me in the comment.
Have a good day 😀.