Microsoft Windows 10 Package Manager Fin will allow users to install various applications using the command line, just like Linux systems. Here is the tutorial on how to use and install programs using Winget commands.
What does the Winget Windows 10 package manager do?
Winget is a free and open source package manager created by Microsoft for its Windows 10 operating system to make things a bit easier. If you are a Linux user, you already know the advantages of Package Manager, how easy it is to install the different applications with just one command. So, I think Microsoft knows that Linux is the future of operating systems, so to be in the game it also has to provide something very robust or a similar type that even Linux fans are starting to feel the pressure on. same agility to install the applications on Windows.
Therefore, this Winget comes with a command line utility and a set of services to download and install common applications. However, currently it is CLI, but sooner or later it would also have a graphical user interface to easily find open source and closed applications under one roof.
You can think of Winget as Chocolatey. However, Chocolatey Choco also works on Windows 7.
How do I get the Winget Windows Package Manager?
To install Windows Package Manager, the user must be on Windows 10 1709 (16299) or later. That’s all, if you are on this version of the operating system, you don’t need to install anything, the Fin is already on your system.
However, if you don’t want to update your system to the latest version, you can install it manually by downloading.appxbundle available on Github.
How to use Winget to install apps
Using Winget to install the application available in its repository is quite simple even more than that of Linux. Just open the command terminal on your Windows 10 and type:
The above command will give this output:
Windows Package Manager v0.2.2521 Preview Copyright (c) Microsoft Corporation. All rights reserved. The winget command line utility enables installing applications and other packages from the command line. usage: winget [
] [ ] The following commands are available: install Installs the given package show Shows info about an package source Manage sources of packages search Find and show basic info of packages hash Helper to hash installer files validate Validates a manifest file settings Open settings features Shows the status of experimental features For more details on a specific command, pass it the help argument. [-?] The following options are available: -v,--version Display the version of the tool --info Display general info of the tool More help can be found at: https://aka.ms/winget-command-help
This means that the Winget is working perfectly.
Now it’s time to install some packages that use it. To find any app to install using Winget, we can use the command:
winget search app-name
For example: To install the Google Chrome browser, we will run
winget search googlechrome
In the screenshot below, you can see that he searched for the available package related to our request.
Now to install it we use the command:
winget install ID
The username is the name Winget uses to identify the program. Here you can see in the image above when we searched for Chrome packages in the result it also gave the id for the same. So, to install Chrome, the command will be
winget install Google.Chrome
However, you can also just use the name of the package to install, for example Google Chrome can be installed using the command
Winget install googlechrome only, however, when multiple versions of a similar package are available, using the ID will be a better way to install apps.
In the same way, we can install VLC or any other application to know all the packages or software available to install using Winget, just type:
You can read more about the tool in the official Windows Package Manager documentation.