Skip to content

Commit 66d62a7

Browse files
denelonmattwojo
andauthored
Update list (#5548)
* Update list * Update screenshot formatting and date --------- Co-authored-by: Matt Wojciakowski <[email protected]>
1 parent 3a07d9b commit 66d62a7

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed
29.9 KB
Loading
13.9 KB
Loading
22.8 KB
Loading
25.7 KB
Loading
37.7 KB
Loading

hub/package-manager/winget/list.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
---
22
title: list Command
33
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
55
ms.topic: overview
6-
ms.localizationpriority: medium
76
---
87

98
# list command (winget)
109

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.
1211

1312
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.
1413

@@ -24,10 +23,9 @@ The following aliases are available for this command:
2423

2524
`winget list [[-q] <query>] [<options>]`
2625

27-
![Image of list command usage](./images/list.png)
26+
:::image type="content" source="./images/list.png" alt-text="Screenshot listing winget list command options." lightbox="./images/list.png":::
2827

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).
3129

3230
## Arguments
3331

@@ -60,6 +58,8 @@ The options allow you to customize the list experience to meet your needs.
6058
| **--authentication-account** | Specify the account to be used for authentication. |
6159
| **--accept-source-agreements** | Used to accept the source license agreement, and avoid the prompt. |
6260
| **--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. |
6363
| **-?, --help** | Get additional help on this command. |
6464
| **--wait** | Prompts the user to press any key before exiting. |
6565
| **--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.
7171

7272
### Example queries
7373

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.
7575

76-
![list name command](./images/list-name.png)
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":::
7777

7878
The following example lists all application by ID from a specific source.
7979

80-
![list id with source command](./images/list-id-source.png)
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":::
8181

8282
The following example limits the output of **list** to 9 apps.
8383

84-
![list count command](./images/list-count.png)
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":::
8585

8686
## List with update
8787

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.
8989

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.
9191

92-
![Image of list with update command](./images/list-update.png)
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":::
9393

9494
The **list** command will show not only the update version available, but the source that the update is available from.
9595

0 commit comments

Comments
 (0)