list command displays packages installed on your system. You can also use the ls alias.
Syntax
Arguments
Filter installed packages by query string
Filter Options
Filter by package identifier
Filter by package name
Filter by package moniker
Filter by package tag
Filter by command/executable name
Filter by source where package is registered
Use exact string matching for queries
Limit number of results displayed
Filter by installation scope:
user or machineDisplay Options
Show only packages with available upgrades
Include packages with unknown versions (requires —upgrade-available)
Include pinned packages (requires —upgrade-available)
Display detailed information for each package
Authentication
Custom HTTP header for source requests
Authentication mode:
silent, silentPreferred, interactiveAccount to use for authentication
Accept all source agreements
Examples
List all installed packages:Output Format
The command displays a table with the following columns:- Name - Package display name
- Id - Package identifier
- Version - Installed version
- Available - Latest available version (if applicable)
- Source - Source where package is registered
Exit Codes
0- Success0x8A150001- No packages found matching query
Packages installed outside of WinGet may not have version or update information available.
Use
winget list --upgrade-available as an alternative to winget upgrade for checking available updates without installing them.