Skip to content

winget

Practical WinGet command reference for Windows package management. Learn how to search, install, update, download, and manage software packages, sources, and features using the Windows Package Manager


Update winget repository

winget update

Display installed packages

$ winget list

PS C:\Users\wuseman> winget list
Name                                Id                                  Version                    Available     Source
-----------------------------------------------------------------------------------------------------------------------
Windows Driver Package - Google, I… ARP\Machine\X64\092555911492C6959D… 08/28/2014 11.0.0000.00000
Sublime Text                        SublimeHQ.SublimeText.4             Unknown                    4.0.0.420000  winget
VLC media player                    VideoLAN.VLC                        3.0.23                                   winget
WinRAR 7.12 (64-bit)                RARLab.WinRAR                       7.12.0                     7.13.0        winget
Zed Attack Proxy by Checkmarx 2.17… ZAP.ZAP                             2.17.0                                   winget
foobar2000 v2.25.6 (x64)            PeterPawlowski.foobar2000           2.25.6                                   winget
Microsoft Update Health Tools       ARP\Machine\X64\{1FC1A6C2-576E-489… 3.74.0.0
Eclipse Temurin JDK with Hotspot 2 EclipseAdoptium.Temurin.25.JDK      25.0.1.8                                 winget
...

Search for packages

PS C:\Users\wuseman> winget search openssh
Name            Id                        Version  Match        Source
----------------------------------------------------------------------
SSHells         dzonder.sshells           0.1.4    Tag: openssh winget
OpenSSH Preview Microsoft.OpenSSH.Preview 10.0.0.0              winget

Show package information

  • Syntax: winget show <id>
PS C:\Users\wuseman> winget show Microsoft.OpenSSH.Preview
Found OpenSSH Preview [Microsoft.OpenSSH.Preview]
Version: 10.0.0.0
Publisher: Microsoft Corporation
Publisher Url: https://github.com/PowerShell/Win32-OpenSSH
Publisher Support Url: https://github.com/PowerShell/Win32-OpenSSH/issues
Author: Microsoft Corporation
Moniker: openssh-preview
Description: OpenSSH is a complete implementation of the SSH protocol (version 2) for secure remote login, command execution and file transfer
Homepage: https://github.com/PowerShell/Win32-OpenSSH
License: BSD License
License Url: https://github.com/PowerShell/openssh-portable/blob/latestw_all/LICENCE
Copyright: Copyright (c) Microsoft Corporation
Copyright Url: https://github.com/PowerShell/openssh-portable/blob/latestw_all/LICENCE
Release Notes Url: https://github.com/PowerShell/Win32-OpenSSH/releases/tag/10.0.0.0p2-Preview
Documentation:
  Wiki: https://github.com/PowerShell/Win32-OpenSSH/wiki
Tags:
  ssh
  sshd
  sftp
  scp
Installer:
  Installer Type: msi
  Installer Locale: en-US
  Installer Url: https://github.com/PowerShell/Win32-OpenSSH/releases/download/10.0.0.0p2-Preview/OpenSSH-Win64-v10.0.0.0.msi
  Installer SHA256: ddec9c53864280759cf9f74791cefd387100e3946aa849a1c138a4ed1b96b7d9
  Release Date: 2025-10-27
  Offline Distribution Supported: true

Winget source list

PS C:\Users\wuseman> winget source list
Name        Argument                                      Explicit
------------------------------------------------------------------
msstore     https://storeedgefd.dsx.mp.microsoft.com/v9.0 false
winget      https://cdn.winget.microsoft.com/cache        false
winget-font https://cdn.winget.microsoft.com/fonts        true

Print winget features

PS C:\Users\wuseman> winget features
The following experimental features are in progress.
They can be configured through the settings file 'winget settings'.

Feature                 Status   Property  Link
-------------------------------------------------------------------------
Direct MSI Installation Disabled directMSI https://aka.ms/winget-settings
Resume                  Disabled resume    https://aka.ms/winget-settings
Font                    Disabled fonts     https://aka.ms/winget-settings

Download source package for a package only

winget download Bitvise.SSH.Client

Update sources

winget source update

Install openssh server

PS C:\Users\wuseman> winget install --id Microsoft.OpenSSH.Preview
Found OpenSSH Preview [Microsoft.OpenSSH.Preview] Version 10.0.0.0
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://github.com/PowerShell/Win32-OpenSSH/releases/download/10.0.0.0p2-Preview/OpenSSH-Win64-v10.0.0.0.msi
  ██████████████████████████████  6.28 MB / 6.28 MB
Successfully verified installer hash
Starting package install...
Successfully installed    

Install nano editor

PS C:\ProgramData\ssh> winget install --id GNU.Nano
Failed in attempting to update the source: winget
Found GNU Nano [GNU.Nano] Version 2.7.5
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://www.nano-editor.org/dist/win32-support/nano-v2.7.5-55-g0d9a73472439.exe
  ██████████████████████████████  1.26 MB / 1.26 MB
Successfully verified installer hash
Starting package install...
Command line alias added: "nano"
Path environment variable modified; restart your shell to use the new value.
Successfully installed

Install vim stable

winget install vim.vim

Install qbittorrent by --name

winget install --name qbittorrent

Install WinFsp by --id and --source

winget install --id WinFsp.WinFsp --source winget

Uninstall vim by --id and --source

winget uninstall --id vim.vim --source winget

Who am I

$ whoami
desktop-61pud2l\wuseman