
If there’s a package available by the name ‘7zip’, winget search command will retrieve the Package Name, ID, Version and show it in the output. To search for an app, we’ll use the winget search command. l,-location Location to install to (if supported) override Override arguments to be passed on to the installer i,-interactive Request interactive installation user input may be needed s,-source Find app using the specified source v,-version Use the specified version default is the latest version m,-manifest The path to the manifest of the application q,-query The query used to search for an app Successfully installed! Winget install usage and flagsīelow are all supported flags as shown in the winget install -help command. Microsoft is not responsible for, nor does it grant any licenses to, third-party packages. This application is licensed to you by its owner. If you get a UAC prompt, press the ‘Yes’ button and you’ll be good to go. Winget will start downloading the app and install it automatically. Much like apt install on Ubuntu systems, you can use winget install command to download and install apps on a Windows 10 PC. That said, let’s get started with installing an app from the command line using Winget. The basic winget syntax is as follows: winget You can use winget CLI from either Command Prompt or Windows PowerShell. Winget CLI tool has a basic syntax very similar to many popular Linux package managers such as apt or dnf. In this guide, we are going to take a look at the basics of winget and see how to install, search, or get info of an app from the command prompt. We’ve a detailed guide on installing winget at the link below, have a look at it. On Windows 10 stable releases, you’ll have to manually download and install winget on your system.

You could verify that by running the following command in CMD or PowerShell: winget -version

If you’re running the latest Windows 10 Insider build, you probably already have winget installed on your computer.

Winget is currently available as a preview release, but you can download it on any Windows 10 PC to test and try from Github. Microsoft is working on a command-line tool called winget to let Windows 10 users download and install apps straight from the command prompt.
