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/uninstall.md
+14-17Lines changed: 14 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,15 @@
1
1
---
2
2
title: uninstall Command
3
3
description: uninstalls the specified application.
4
-
ms.date: 07/11/2024
4
+
ms.date: 07/07/2025
5
5
ms.topic: overview
6
-
ms.localizationpriority: medium
7
6
---
8
7
9
8
# uninstall command (winget)
10
9
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.
12
11
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.
14
13
15
14
## Aliases
16
15
@@ -23,10 +22,10 @@ The following aliases are available for this command:
23
22
24
23
`winget uninstall [[-q] <query>] [<options>]`
25
24
26
-

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":::
27
26
28
27
> [!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**.
30
29
31
30
## Arguments
32
31
@@ -74,9 +73,7 @@ The options allow you to customize the uninstall experience to meet your needs.
74
73
|**--proxy**| Set a proxy to use for this execution. |
75
74
|**--no-proxy**| Disable the use of proxy for this execution. |
76
75
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
-

76
+
After you have successfully identified the application intended to uninstall, winget will execute the uninstall command.
80
77
81
78
### Example queries
82
79
@@ -92,16 +89,16 @@ The following example uninstalls an application using its ID.
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.
98
93
99
-

94
+
```CMD
95
+
winget uninstall Microsoft.NuGet Microsoft.Edit
96
+
```
100
97
101
-
## Uninstalling apps not installed with Windows Package Manager
98
+
## Multiple selections
102
99
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.
104
101
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
106
103
107
-

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