Install and use winget – Windows Package Manager client

The
You can support us by downloading this article in PDF format through the following link.

Download the guide in PDF format

turn off
The

The
The

When it comes to “Package Manager”, it means mature and well-known Linux tools, such as apt for Debian-based systems, zypper for OpenSUSE, and yum | dnf for RedHat-based distributions. At the same time, Windows users require the native package manager developed by Microsft. They can jump down and save time installing software and tools. Seems to hear the pleading, and did some processing on it.

Microsoft has developed winget to help complete this feature in the future. What is more surprising is that it is an open source project. In addition, Windows Package Manager (winget) is a tool designed to help you quickly and easily discover and install the tools that make your PC environment special. By using the Windows package manager, you can install your favorite tools with just one command.

feature

Among other advantages, winget also provides the following commands and options for previewing.

  • install installs the given application
  • show displays information about the application
  • Source management application source
  • Search to find and display the basic information of the application
  • Hash Assistant to Hash installer file
  • Verification manifest file
  • –Help provides command line help
  • –Info provides additional data to help troubleshoot
  • –Version provides the version of the client

Install winget

The client is distributed in the App Installer software package. Although this package is pre-installed on Windows, the client is usually not made available during preview. In order to obtain automatic updates from the Microsoft Store that contains the client, you must do one of the following:

I personally installed the Windows Desktop App Installer package, which is located at winget repository.

To install “winget” directly, go to winget preview file And download the Microsoft.DesktopAppInstaller .appxbundle file, and then click it to install. Click “Updates

Use winget

The winget cli tool can be used with the command line (cmd) or PowerShell. To start either one as “Administrator”, you can issue the following command:

  • install: install the given application
  • show: display information about the application
  • Source: Add, delete, and update the Windows Package Manager repository accessed by the Winget tool
  • Search: Find and display the basic information of the application
  • hash: Assistant for hashing installer files. It generates SHA256 hash for the installer
  • Verification: Verify the manifest file for submission to the Windows package manager repository
  • help: displays help about the winget tool commands.

As shown below

In this section, we will see examples of using the winget cli tool.

Search application

To see if your application is found in the repository, issue the following command to search for the application you want to install.

winget search notepad

Install and use winget – Windows Package Manager clientInstall the application

Issue the following command to install the application.

winget install Notepad++

Install and use winget – Windows Package Manager clientCheck application information

Issue the following command to view more information about a given application.

winget show Notepad++

Install and use winget – Windows Package Manager client

After installation, please confirm that your application has been successfully installed. Just search in Windows

Install and use winget – Windows Package Manager client

over there!

references:

carry out

We finally arrived, and now we have installed winget. To continue the magic, simply launch your PowerShell | Comandline, search for your applications, and install them as we have seen. At least we can now live in the terminal in the Windows operating system. In short, thank you for visiting and spending time on the blog. For more fun, check out the following shared guide:

Use Chocolatey software management tools to manage Windows applications

Install Windows Terminal on Windows 10 | Server 2019

How to install GitHub CLI (gh) window on Linux

The
You can support us by downloading this article in PDF format through the following link.

Download the guide in PDF format

turn off
The

The
The

Sidebar