Skip to content

Commit b47b013

Browse files
Merge pull request #5596 from MicrosoftDocs/main
Auto Publish – main to live - 2025-07-17 05:00 UTC
2 parents 71d328b + e6c18ee commit b47b013

File tree

9 files changed

+43
-20
lines changed

9 files changed

+43
-20
lines changed

hub/package-manager/winget/features.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
---
22
title: features Command
33
description: Displays the list of experimental features available and the state.
4-
ms.date: 07/11/2024
4+
ms.date: 07/16/2025
55
ms.topic: overview
6-
ms.localizationpriority: medium
76
---
87

98
# features command (winget)
109

11-
The **features** command of the [winget](index.md) tool displays a list of the experimental features available with your version of the Windows Package Manager. Experimental features are only available in preview builds. Instructions for obtaining a preview build can be found in the [GitHub repository](https://github.com/microsoft/winget-cli).
10+
The **features** command of the [winget](index.md) tool displays a list of the experimental features available with your version of the Windows Package Manager.
1211

1312
Each feature can be turned on individually by enabling the features through [**settings**](./settings.md).
1413

@@ -18,13 +17,13 @@ You can find the latest up to date information features on the [experimental fea
1817

1918
`winget features [<options>]`
2019

21-
![features command](./images/features.png)
20+
:::image type="content" source="./images/features.png" alt-text="Screenshot listing winget features." lightbox="./images/features.png":::
2221

2322
Notice above that the status of each feature is listed. If the feature is **disabled** you will not be able to use it. If the feature is **enabled** you will notice that the command will be available to you through **winget**.
2423

25-
![features command help options](./images/features-help.png)
24+
:::image type="content" source="./images/features-help.png" alt-text="Screenshot listing winget features command help options." lightbox="./images/features-help.png":::
2625

27-
To enabled any disabled features, go to **settings** and enable the feature.
26+
To enable any disabled features, go to **settings** and enable the feature.
2827

2928
> [!NOTE]
3029
> Features may be managed by group policy. You can use the **winget --info** command to view any policies in effect on your system.
17.7 KB
Loading
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

hub/package-manager/winget/troubleshooting.md

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Debugging and troubleshooting issues with WinGet
33
description: Provides information on logging and WinGet diagnostics.
4-
ms.date: 11/15/2024
4+
ms.date: 07/15/2025
55
ms.topic: troubleshooting-general
66
---
77

@@ -44,6 +44,20 @@ If you need more comprehensive log files, that provide the complete communicatio
4444
> winget source add -n mysource -t Microsoft.REST -a https://www.contoso.org --verbose
4545
```
4646

47+
### settings
48+
49+
You can specify the default logging level for WinGet to use in your WinGet Settings file. The **settings** command will open the settings.json file in your default JSON editor.
50+
51+
Example with verbose logging:
52+
```JSON
53+
{
54+
"$schema": "https://aka.ms/winget-settings.schema.json",
55+
"logging": {
56+
"level": "verbose"
57+
}
58+
}
59+
```
60+
4761
## Known issues
4862

4963
A list of known issues with sources and behaviors is kept up to date in the [Windows Package Manager Client repository](https://www.github.com/microsoft/winget-cli). If you encounter issues when using the WinGet tool, go [here](https://github.com/microsoft/winget-cli/tree/master/doc/troubleshooting) for troubleshooting.
@@ -52,6 +66,12 @@ A list of known issues with sources and behaviors is kept up to date in the [Win
5266

5367
The WinGet tool returns exit codes to indicate success or failure of the command. Find a table of exit codes and their meanings in the ["Return codes" file of the Windows Package Manager Client repository](https://github.com/microsoft/winget-cli/blob/master/doc/windows/package-manager/winget/returnCodes.md).
5468

69+
The WinGet **error** command accepts errors from "Exit codes" and displays a description for known error codes for WinGet, MSIX, and MSI installers. Many .exe-based installers have non-standard error codes and may not be displayed.
70+
71+
```CMD
72+
> winget error 1603
73+
```
74+
5575
### Scope for specific user vs machine-wide
5676

5777
Not all installers support installing in “user” scope vs. “machine” scope consistently.
@@ -75,3 +95,7 @@ The user agent string for WinGet has the following format:
7595
Example:
7696

7797
`winget-cli WindowsPackageManager/1.9.25200 DesktopAppInstaller/Microsoft.DesktopAppInstaller v1.24.25200.0`
98+
99+
### System Context
100+
101+
WinGet is delivered via the App Installer as a packaged application. MSIX (packaged) applications depend on an App Execution Alias to be resolved on the PATH environment variable. The WinGet CLI is not supported in the system context. The Microsoft.WinGet.Client PowerShell module can be used in the system context with applications that are installed machine wide.

0 commit comments

Comments
 (0)