Winget - Windows CMD - SS64.com
WINGET.exe
Discover, install, upgrade, remove and configure applications on Windows computers.
Syntax
WINGET exe [command] [options]
Commands:
WINGET export [-o] output [options] Export a JSON file of apps to a specified file.
WINGET hash [--file] \file [\options] Generate a SHA256 hash for the installer.
WINGET import [-i] import-file [options] Import a JSON file of apps to install.
WINGET install [[-q] \query] [\options] [-?] Install an application.
WINGET list [[-q] \query] [\options] Display a list of installed applications.
WINGET features Display a list of experimental features.
WINGET search [[-q] \query] [\options] Search/Show all applications available for installation.
WINGET settings Configure WinGet by editing the settings.json file.
Running WINGET settings will open the file in your default json editor;
List of settings you can configure, appearance, telemetry etc.
WINGET show [[-q] \query] [\options] Display details for the specified application.
WINGET source \sub-command \options Add, remove, or update the WINGET Package Manager repositories.
WINGET uninstall [[-q] \query] [\options] Uninstall the specified application
WINGET upgrade [[-q] \query] [\options] Upgrade the specified application.
WINGET validate [--manifest] \path Validate a manifest file for submission to the Windows Package
Manager repository.
Options
[/?] [--help] Display help for all the supported commands and sub commands.
Pass the --help argument to any other WINGET command to get details about
all additional command options.
--info Detailed information including links to the license and privacy statement.
-v, --version Return the current version of winget.
Winget is bundled with Windows 11 by default.
For Windows 10 it is available as App Installer on the WIndows Store.
Requires Windows 10 1709 (build 16299) or later.
When scripted, winget will launch the applications in the specified order. When an installer returns success or failure, winget will launch the next installer. If an installer launches another process, it is possible that it will return to winget prematurely. This will cause winget to install the next installer before the previous installer has completed.
This tool is the client interface to the Windows Package Manager service.
Examples
Search for software:
C:\> winget.exe search powertoys
Install software:
C:\> winget install Microsoft.PowerToys
“Do you want to know how Microsoft WinGet works? go read the article I wrote 2 years ago about how AppGet works” ~ Keivan Beigi
Related commands
GitHub repository
WINGET - Discover, install, upgrade, remove and configure applications on Windows computers.
MSIEXEC - Microsoft Windows Installer.
WUAUCLT - Windows Update.
Equivalent PowerShell: Install-Package - Install one or more software packages.
Copyright © 1999-2026 SS64.com
Some rights reserved