The winget command line tool enables users to discover, install, upgrade, remove and configure applications on Windows 10 and Windows 11 computers. This tool is the client interface to the Windows Package Manager service.

 

Commands

The current preview of the winget tool supports the following commands.

Command Description
info Displays metadata about the system (version numbers, architecture, log location, etc). Helpful for troubleshooting.
install Installs the specified application.
show Displays details for the specified application.
source Adds, removes, and updates the Windows Package Manager repositories accessed by the winget tool.
search Searches for an application.
list Display installed packages.
upgrade Upgrades the given package.
uninstall Uninstalls the given package.
hash Generates the SHA256 hash for the installer.
validate Validates a manifest file for submission to the Windows Package Manager repository.
settings Open settings.
features Shows the status of experimental features.
export Exports a list of the installed packages.
import Installs all the packages in a file.
pin Manage package pins.
configure Configures the system into a desired state.

 

https://learn.microsoft.com/en-us/windows/package-manager/winget/