Skip to content

Commit e4f25d4

Browse files
denelonmattwojo
andauthored
Update Uninstall (MicrosoftDocs#5556)
* Update Uninstall * Update screenshot format and minor editorial --------- Co-authored-by: Matt Wojciakowski <[email protected]>
1 parent a64cb0f commit e4f25d4

File tree

5 files changed

+14
-17
lines changed

5 files changed

+14
-17
lines changed
Binary file not shown.
Binary file not shown.
Binary file not shown.
-35.5 KB
Loading

hub/package-manager/winget/uninstall.md

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
---
22
title: uninstall Command
33
description: uninstalls the specified application.
4-
ms.date: 07/11/2024
4+
ms.date: 07/07/2025
55
ms.topic: overview
6-
ms.localizationpriority: medium
76
---
87

98
# uninstall command (winget)
109

11-
The **uninstall** command of the [winget](index.md) tool uninstalls the specified application.
10+
The **uninstall** command of [WinGet](index.md) uninstalls the specified application.
1211

13-
The **uninstall** command requires that you specify the exact string to uninstall. If there is any ambiguity, you will be prompted to further filter the **uninstall** command to an exact application.
12+
The **uninstall** command requires that you specify the exact application name to uninstall. If there is any ambiguity, you will be prompted to further filter the **uninstall** command to an exact application.
1413

1514
## Aliases
1615

@@ -23,10 +22,10 @@ The following aliases are available for this command:
2322

2423
`winget uninstall [[-q] <query>] [<options>]`
2524

26-
![Image of uninstall command usage](./images/uninstall.png)
25+
:::image type="content" source="./images/uninstall.png" alt-text="Screenshot of entering the winget uninstall command in a command line of Windows Terminal." lightbox="./images/uninstall.png":::
2726

2827
> [!NOTE]
29-
> When using WinGet to uninstall a package, you may encounter a Microsoft Store agreement. This is due to the way in which WinGet queries package manifest sources. If you prefer not to have the Microsoft Store policy popup when uninstalling, you can pass in `--source winget` to suppress the agreement. Alternatively, you can uninstall using **Start > Settings > Apps > Apps & features**, finding the app you want to remove, and selecting **More > Uninstall**.
28+
> When using WinGet to uninstall a package, you may encounter a Microsoft Store agreement. This happens because of how WinGet queries package sources. To avoid Microsoft Store agreement prompts when uninstalling, you can add the `--source winget` WinGet flag to the `winget uninstall` command. Alternatively, you can uninstall using **Start > Settings > Apps > Apps & features**, finding the app you want to remove, and selecting **More > Uninstall**.
3029
3130
## Arguments
3231

@@ -74,9 +73,7 @@ The options allow you to customize the uninstall experience to meet your needs.
7473
| **--proxy** | Set a proxy to use for this execution. |
7574
| **--no-proxy** | Disable the use of proxy for this execution. |
7675

77-
After you have successfully identified the application intended to uninstall, winget will execute the uninstall command. In the example below, the **name** 'orca' and the **id** was passed in.
78-
79-
![Image of uninstall command example](./images/uninstall-execute.png)
76+
After you have successfully identified the application intended to uninstall, winget will execute the uninstall command.
8077

8178
### Example queries
8279

@@ -92,16 +89,16 @@ The following example uninstalls an application using its ID.
9289
winget uninstall --id "{24559D0F-481C-F3BE-8DD0-D908923A38F8}"
9390
```
9491

95-
## Multiple selections
96-
97-
If the query provided to **winget** does not result in a single application to uninstall, then **winget** will display multiple results. You can then use additional filters to refine the search for a correct application.
92+
The following example uninstalls multiple applications.
9893

99-
![Image of uninstall command multiple selections](./images/uninstall-multiple.png)
94+
```CMD
95+
winget uninstall Microsoft.NuGet Microsoft.Edit
96+
```
10097

101-
## Uninstalling apps not installed with Windows Package Manager
98+
## Multiple selections
10299

103-
As mentioned in [**list**](.\list.md), the **winget list** command will display more than just apps installed with the **winget**. Therefore you can use these commands to quickly and easily remove apps from your PC.
100+
If the query provided to **winget** does not result in a single application to uninstall, then **winget** will display multiple results. You can then use additional filters to refine the search for the application you want to uninstall.
104101

105-
In this example, **list** was used to find the application, and then the **id** was passed in as part of uninstall.
102+
## Uninstalling apps not installed with Windows Package Manager
106103

107-
![Image of uninstall command for apps not installed with Package Manager](./images/uninstall-with-list.png)
104+
As mentioned in [**list**](.\list.md), the **winget list** command will display more than just apps installed with the **winget**. You may still use winget commands to remove these apps from your device.

0 commit comments

Comments
 (0)