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/list.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,13 @@
1
1
---
2
2
title: list Command
3
3
description: Displays the list of listed apps and if an update is available.
4
-
ms.date: 07/11/2024
4
+
ms.date: 07/15/2025
5
5
ms.topic: overview
6
-
ms.localizationpriority: medium
7
6
---
8
7
9
8
# list command (winget)
10
9
11
-
The **list** command of the [winget](./index.md) tool displays a list of the applications currently installed on your computer. The list command will show apps that were installed through the Windows Package Manager as well as apps that were installed by other means.
10
+
The **list** command of [WinGet](./index.md) displays a list of the applications currently installed on your computer. The list command will show apps that were installed through the Windows Package Manager as well as apps that were installed by other means.
12
11
13
12
The **list** command will also display if an update is available for an app, and you can use the [**upgrade**](./upgrade.md) command to update the app.
14
13
@@ -24,10 +23,9 @@ The following aliases are available for this command:
24
23
25
24
`winget list [[-q] <query>] [<options>]`
26
25
27
-

26
+
:::image type="content" source="./images/list.png" alt-text="Screenshot listing winget list command options." lightbox="./images/list.png":::
28
27
29
-
> [!NOTE]
30
-
> If you want to list all apps with available updates use `winget upgrade` (without any arguments).
28
+
To list all apps with available updates, use the command: `winget list --upgrade-available` (without any arguments).
31
29
32
30
## Arguments
33
31
@@ -60,6 +58,8 @@ The options allow you to customize the list experience to meet your needs.
60
58
|**--authentication-account**| Specify the account to be used for authentication. |
61
59
|**--accept-source-agreements**| Used to accept the source license agreement, and avoid the prompt. |
62
60
|**--upgrade-available**| Lists only packages which have an upgrade available. |
61
+
|**-u, --unknown, --include-unknown**| Lists packages even if their current version cannot be determined. |
62
+
|**--pinned, --include-pinned**| Lists packages even if they have a pin that prevents upgrades by WinGet. |
63
63
|**-?, --help**| Get additional help on this command. |
64
64
|**--wait**| Prompts the user to press any key before exiting. |
65
65
|**--logs,--open-logs**| Open the default logs location. |
@@ -71,25 +71,25 @@ The options allow you to customize the list experience to meet your needs.
71
71
72
72
### Example queries
73
73
74
-
The following example lists a specific version of an application.
74
+
The following example lists installed applications with a given substring in their name.
75
75
76
-

76
+
:::image type="content" source="./images/list-name.png" alt-text="Screenshot of using the winget --list git command to all installed applications with the name git." lightbox="./images/list-name.png":::
77
77
78
78
The following example lists all application by ID from a specific source.
79
79
80
-

80
+
:::image type="content" source="./images/list-id-source.png" alt-text="Screenshot listing winget list --id Git.Git to show all installed applications coming from that source." lightbox="./images/list-id-source.png":::
81
81
82
82
The following example limits the output of **list** to 9 apps.
83
83
84
-

84
+
:::image type="content" source="./images/list-count.png" alt-text="Screenshot listing winget list --count 9 to limit the number of installed apps listed to only 9." lightbox="./images/list-count.png":::
85
85
86
86
## List with update
87
87
88
-
As stated above, the **list** command allows you to see what apps you have installed that have updates available.
88
+
As stated above, the **list** command allows you to see what apps you have installed that have upgrades available.
89
89
90
-
In the image below, you will notice the preview version of Terminal has an update available.
90
+
In the image below, you will notice applications with an upgrade available.
91
91
92
-

92
+
:::image type="content" source="./images/list-update.png" alt-text="Screenshot listing winget list --upgrade-available to show installed apps with an available upgrade." lightbox="./images/list-update.png":::
93
93
94
94
The **list** command will show not only the update version available, but the source that the update is available from.
0 commit comments