Microsoft:- Winget

Background

In Linux, there are a few command-line tools for installing applications.

Inclusive:-

  1. rpm
  2. yum
  3. dnf

Introduction

Thankfully, we are getting similar console-based tools for application installation in Win OS, as well.

winget is one of those tools.

Outline

Here is a complete of Winget operations.

  1. Search
  2. Install
  3. List
  4. Uninstall

 

Search

Syntax


winget search [package]

 

Sample

Winget – Sample – notepad++


winget search notepad++

Output

Output – Image


Output – Text
 

>winget search notepad++
Name Id Version Match Source
---------------------------------------------------------------
Notepad++ Notepad++.Notepad++ 8.6.5 winget
Notepad Next dail8859.NotepadNext 0.7 Tag: notepad++ winget

 

Winget – Sample – Google – Chrome


winget search chrome

Output

Output – Image


Output – Text
 


>winget search chrome
Name                                            Id                         Version        Match                 Source
-----------------------------------------------------------------------------------------------------------------------
DC Browser - Chrome and IE kernel               XP8BV7F2CT4LDK             Unknown                              msstore
Google Chrome                                   Google.Chrome              124.0.6367.61  Moniker: chrome       winget
Dichromate                                      Dichromate.Browser         110.0.5481.178 Command: chrome       winget
Chrome Remote Desktop Host                      Google.ChromeRemoteDesktop 124.0.6367.18  Tag: chrome           winget
xpchrome                                        weolar.xpchrome            115.0.5790.136                       winget
Ginger Chrome                                   Saxo_Broko.GingerChrome    93.0.4529.0                          winget
ChromeCacheView                                 NirSoft.ChromeCacheView    2.45                                 winget
ICBCChromeExtension                             ICBC.ICBCChromeExtension   1.2.0.0                              winget
Google Chrome Canary                            Google.Chrome.Canary       126.0.6433.0                         winget
ChromeDriver for Chrome 111                     Chromium.ChromeDriver      123.0.6312.58                        winget
360 极速浏览器X                                 360.360Chrome.X            22.1.1090.64                         winget
360极速浏览器                                   360.360Chrome              13.5.2044.0                          winget
115浏览器                                       115.115Chrome              26.0.6.6                             winget
Google Chrome Dev                               Google.Chrome.Dev          126.0.6423.2                         winget
Google Chrome (EXE)                             Google.Chrome.EXE          124.0.6367.61                        winget
Google Chrome Beta (EXE)                        Google.Chrome.Beta.EXE     125.0.6422.4                         winget
Google Chrome Beta                              Google.Chrome.Beta         125.0.6422.4                         winget
Vision Teacher for Chromebooks Machine-Wide In… Netop.VisionTeacher        1.7.6.0                              winget
Inssist                                         SlashedIo.Inssist          16.1.0         Tag: chrome-extension winget

>


 

 

Winget – Sample – Google – Firefox


winget search firefox

Output

Output – Image

Output – Text

>winget search firefox
Name                                   Id                                Version  Match             Source
-----------------------------------------------------------------------------------------------------------
Mozilla Firefox                        9NZVDKPMR9RD                      Unknown                    msstore
Mozilla Firefox ESR                    Mozilla.Firefox.ESR               115.10.0 Moniker: firefox  winget
Mozilla Firefox                        Mozilla.Firefox                   125.0.1  Moniker: firefox  winget
geckodriver                            Mozilla.GeckoDriver               0.34.0   Tag: firefox      winget
Firefox Nightly                        Mozilla.Firefox.Nightly           116.0a1  Tag: firefox      winget
Firefox Developer Edition              Mozilla.Firefox.DeveloperEdition  126.0    Tag: firefox      winget
MozBackup                              JasnaPaka.MozBackup               1.5.1    Tag: firefox      winget
PWAsForFirefox                         filips.FirefoxPWA                 2.11.1   Tag: firefox      winget
Mypal                                  Feodor2.Mypal                     29.3.0   Tag: firefox      winget
Mercury                                Alex313031.Mercury                122.0.2  Tag: firefox      winget
Profile Switcher for Firefox Connector nulldev.ProfileSwitcherforFirefox 0.1.1                      winget
I2P Easy Install Bundle                i2p.firefox                       beta                       winget
ffsend                                 TimVisee.ffsend                   0.2.76   Tag: firefox-send winget
Pale Moon                              MoonchildProductions.PaleMoon     33.0.1   Tag: firefox-fork winget
LibreWolf                              LibreWolf.LibreWolf               123.0-1  Tag: firefox-fork winget
Ablaze Floorp                          Ablaze.Floorp                     11.12.2  Tag: firefox-fork winget
Floorp Daylight                        Ablaze.Floorp.Daylight            11.12.2  Tag: firefox-fork winget

>


Install

Syntax


winget install [package]

 

Sample

Winget – Install – Sample – Mozilla.Org – Firefox

Firefox
Sample

winget install firefox

Output – Image

Output – Text

>winget install firefox
Multiple packages found matching input criteria. Please refine the input.
Name                Id                  Source
-----------------------------------------------
Mozilla Firefox     9NZVDKPMR9RD        msstore
Mozilla Firefox ESR Mozilla.Firefox.ESR winget
Mozilla Firefox     Mozilla.Firefox     winget

>
Mozilla Firefox
Sample

winget install "Mozilla Firefox"

Output – Image

Output – Text

>winget install "mozilla firefox"
Multiple packages found matching input criteria. Please refine the input.
Name            Id              Source
---------------------------------------
Mozilla Firefox 9NZVDKPMR9RD    msstore
Mozilla Firefox Mozilla.Firefox winget

>

 

Mozilla.Firefox
Sample

winget install "Mozilla.Firefox"

Output – Image

Output – Text

>winget install "mozilla.firefox"
Found Mozilla Firefox [Mozilla.Firefox] Version 125.0.1
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://download-installer.cdn.mozilla.net/pub/firefox/releases/125.0.1/win64/en-US/Firefox%20Setup%20125.0.1.exe
  ██████████████████████████████  60.8 MB / 60.8 MB
Successfully verified installer hash
Starting package install...
Successfully installed

>


 

List

Syntax


winget list

 

Winget – List – Mozilla.Firefox

Mozilla.Firefox
Sample

winget list --name "Firefox"

Output – Image

Output – Text

>winget list --name firefox
Name                        Id              Version Available Source
--------------------------------------------------------------------
Mozilla Firefox (x64 en-US) Mozilla.Firefox 125.0.1 125.0.2   winget

>

 

 

Uninstall

Syntax


winget uninstall [package]

 

Winget – UnInstall – Sample – Mozilla.Org – Mozilla.Firefox

Mozilla.Firefox
Sample

winget uninstall "Mozilla.Firefox"

Output – Image

Output – Image – GUI – Welcome

Output – Image – GUI – Completing the Mozilla Firefox Uninstall Wizard

 

Output – Text
>winget uninstall --id "Mozilla.Firefox"
Found Mozilla Firefox [Mozilla.Firefox]
Starting package uninstall...
Successfully uninstalled

>

 

Referenced Work

  1. Microsoft
  2. Thurrott.com
    • Tip: Install Another Web Browser without Using Microsoft Edge
      Author:- Paul Thurrott
      Date Published:- APR 19, 2024
      Link

Leave a comment