WinGet is a package manager included with Windows 11, accessible via a command line interface. It provides a more efficient method for installing applications compared to traditional download methods. Users can verify WinGet installation by running the command
winget --version.
Key commands include:
1. winget search : Finds packages by name, publisher, or moniker.
2. winget show --id : Displays detailed information about a specific package.
3. winget install -e --id : Installs a package using its exact ID.
4. winget install -e --id --version : Installs a specific version of a package.
5. winget install -e --id --silent --accept-package-agreements --accept-source-agreements: Installs a package silently without user prompts.
6. winget list: Lists all installed applications.
7. winget upgrade: Lists installed packages with available updates.
8. winget upgrade --all --include-unknown --silent --accept-package-agreements --accept-source-agreements: Updates all packages without user input.
9. winget uninstall : Removes a specified package.
10. winget export: Generates a JSON file of installed packages.
11. winget import: Reinstalls applications from an exported file.
12. winget pin : Prevents a package from being updated.
13. winget download : Retrieves an installer without executing it.
14. winget repair : Initiates a repair routine for an application.
15. winget source: Manages package sources.
16. winget settings: Opens the WinGet settings file for customization.
17. winget configure: Applies a configuration file for installations.
Three commands are primarily for package publishers and can be ignored by most users: PLACEHOLDER3dfbcb91baab02cd, PLACEHOLDER5b3baaac6e2d9202, and winget dscv3.
If WinGet is not recognized, it may be due to a missing App Installer package, a missing PATH entry, or running in an unsupported context. WinGet is safe to use, compatible with Windows 10 version 1809 and later, and does not require administrator rights for all commands.