You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hub/package-manager/winget/source.md
+38-23Lines changed: 38 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,29 +1,30 @@
1
1
---
2
-
title: The winget source command
3
-
description: Use the winget source command and subcommands to list and manage the repositories Windows Package Manager accesses.
2
+
title: The WinGet source command
3
+
description: Use the WinGet source command and subcommands to list and manage the sources WinGet accesses.
4
4
ms.date: 07/08/2025
5
5
ms.topic: reference
6
6
ms.custom: kr2b-contr-experiment
7
7
---
8
8
9
-
# The winget source command
9
+
# The WinGet source command
10
10
11
-
The [WinGet](index.md)**source** command allows you to manage sources for Windows Package Manager. With the **source** command, you can **add**, **list**, **update**, **remove**, **reset**, or **export**repositories.
11
+
The [WinGet](index.md)**source** command allows you to manage sources. With the **source** command, you can **add**, **list**, **update**, **remove**, **reset**, or **export**WinGet sources.
12
12
13
-
A source repository provides the data for you to discover and install applications. Only use secure, trusted source locations.
13
+
A WinGet source provides the data for you to discover and install applications. Only use secure, trusted sources.
14
14
15
-
Windows Package Manager specifies the following two default repositories, which you can list by using `winget source list`.
15
+
WinGet specifies the following three default sources, which you can list by using `winget source list`.
16
16
17
17
-**msstore** - The Microsoft Store catalog.
18
-
-**winget** - The Windows Package Manager app repository.
18
+
-**winget** - The WinGet Community Repository for applications.
19
+
-**winget-font** - The WinGet Community Repository for fonts.
@@ -35,7 +36,7 @@ The following arguments are available.
35
36
|**list**| Lists current sources. |
36
37
|**update**| Updates current sources. |
37
38
|**remove**| Removes current sources. |
38
-
|**reset**| Resets default sources **winget** and **msstore**. |
39
+
|**reset**| Resets default sources **msstore**, **winget**, and **winget-font**. |
39
40
|**export**| Exports current sources. |
40
41
41
42
## Options
@@ -107,12 +108,17 @@ The **add** subcommand supports the optional **type** parameter, which tells the
107
108
108
109
The **list** subcommand enumerates the currently enabled sources, or provides details on a specific source.
109
110
111
+
> [!NOTE]
112
+
> When a source is set to be explicit, it must be specifically targeted. The **winget-font** source is set to explicit by default. This means any other WinGet commands must directly reference the source using either "--source winget-font" or "-s winget-font" to be included.
113
+
110
114
Usage:
111
115
112
116
```cmd
113
117
winget source list [[-n] <name>] [<options>]
114
118
```
115
119
120
+

121
+
116
122
#### Aliases
117
123
118
124
The following aliases are available for this subcommand:
@@ -144,34 +150,41 @@ The following options are available.
144
150
145
151
#### list all
146
152
147
-
The **list** subcommand by itself, `winget source list`, provides the complete list of supported sources:
153
+
The **list** subcommand by itself, `winget source list`, provides the complete list of configured sources:
-`Data` is the optional package name, if appropriate.
177
190
-`Updated` is the last date and time the source was updated.
@@ -353,11 +366,13 @@ Returns the following output:
353
366
354
367
## Source agreement
355
368
356
-
An individual **source** might request that the user agree to the terms presented before adding or using the repository. If a user doesn't accept or acknowledge the agreement, they won't be able to access the source.
369
+
An individual **source** may request that the user agree to agreements presented before adding or using the source. If a user does not accept the agreements, WinGet will not be able to access the source.
370
+
371
+
You can use the **--accept-source-agreements** option to accept the source agreements and avoid the prompt.
357
372
358
-
You can use the **--accept-source-agreements** option to accept the source license agreement and avoid the prompt.
373
+
Many WinGet commands evaluate all configured sources. If any configured source requires agreements, WinGet will prompt before using those sources. Source agreements are required to be accepted before use. If a source updates agreement terms, or if a source is removed and readded (as in the case of `winget source reset --force`) agreements will be presented again.
359
374
360
-
:::image type="content" source="./images/source-license.png" alt-text="Screenshot showing the winget source command with flag to accept agreements." lightbox="./images/source-license.png":::
0 commit comments