search command finds packages available in configured sources. You can also use the find alias.
Syntax
Arguments
Search query string. Searches across package name, ID, and moniker.
Filter Options
Filter by package identifier
Filter by package name
Filter by package moniker
Filter by package tag
Filter by command/executable name
Source to search (e.g., “winget”, “msstore”)
Use exact string matching for queries
Limit number of results displayed (default: 100)
Display Options
List all available versions for the package
Authentication
Custom HTTP header for source requests
Authentication mode:
silent, silentPreferred, interactiveAccount to use for authentication
Accept all source agreements
Examples
Search for packages:Output Format
Standard search displays a table:--versions flag:
Exit Codes
0- Success0x8A150001- No packages found matching query
When searching without arguments (
winget search), results are limited by default. Use --count to adjust the limit.The Match column shows where your search term was found (Name, ID, Tag, etc.).