Skip to main content
The source list command displays all configured package sources. You can also use the ls alias.

Syntax

winget source list [options]

Options

-n, --name
string
Filter by source name (shows details for specific source)

Examples

List all sources:
winget source list
Show specific source details:
winget source list --name winget
Use alias:
winget source ls

Output Format

Standard listing shows all configured sources:
Name      Argument                                          Type
------------------------------------------------------------------------
winget    https://cdn.winget.microsoft.com/cache           Microsoft.PreIndexed.Package
msstore   https://storeedgefd.dsx.mp.microsoft.com/v9.0    Microsoft.Rest
Detailed view (with --name) includes additional information:
Name   : winget
Type   : Microsoft.PreIndexed.Package
Arg    : https://cdn.winget.microsoft.com/cache
Data   : C:\Users\username\AppData\Local\Packages\...\LocalState\Microsoft.Winget.Source_...
Updated: 2024-03-04 10:30:15

Source Properties

Name

Unique identifier for the source.

Type

Source type:
  • Microsoft.PreIndexed.Package - Standard WinGet source
  • Microsoft.Rest - REST API source
  • Microsoft.PreIndexed.Zip - ZIP file source

Argument

Source URL or path.

Data

Local cache path for source data.

Updated

Timestamp of last successful update.

Default Sources

winget

Microsoft’s official community package repository.

msstore

Microsoft Store integration source.

Exit Codes

  • 0 - Success
  • 0x8A150016 - Source not found (when filtering by name)
The source list command doesn’t require administrator privileges.

Build docs developers (and LLMs) love