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/index.md
+19-23Lines changed: 19 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,11 @@
1
1
---
2
2
title: Use WinGet to install and manage applications
3
3
description: The WinGet command line tool enables developers to discover, install, upgrade, remove and configure applications on Windows computers.
4
-
ms.date: 08/05/2024
4
+
ms.date: 07/15/2025
5
5
ms.topic: overview
6
-
ms.localizationpriority: medium
7
6
---
8
7
9
-
# Use the WinGet tool to install and manage applications
8
+
# Use WinGet to install and manage applications
10
9
11
10
**WinGet** is a command line tool enabling users to discover, install, upgrade, remove and configure applications on Windows 10, Windows 11, and Windows Server 2025 computers. This tool is the client interface to the Windows Package Manager service.
12
11
@@ -76,10 +75,9 @@ The current preview of the **WinGet** tool supports the following commands.
76
75
77
76
| Command | Description |
78
77
|---------|-------------|
79
-
|[--info](info.md)| Displays metadata about the system (version numbers, architecture, log location, etc). Helpful for troubleshooting. |
80
78
|[install](install.md)| Installs the specified application. |
81
79
|[show](show.md)| Displays details for the specified application. |
82
-
|[source](source.md)| Adds, removes, and updates the Windows Package Manager repositories accessed by the **WinGet** tool. |
80
+
|[source](source.md)| Adds, removes, and updates the Windows Package Manager repositories accessed by **WinGet**. |
83
81
|[search](search.md)| Searches for an application. |
84
82
|[list](list.md)| Display installed packages. |
85
83
|[upgrade](upgrade.md)| Upgrades the given specified application. |
@@ -93,6 +91,8 @@ The current preview of the **WinGet** tool supports the following commands.
93
91
|[pin](pinning.md)| Manage package pins. |
94
92
|[configure](configure.md)| Configures the system into a desired state. |
95
93
|[download](download.md)| Downloads the specified application's installer. |
94
+
|[repair](repair.md)| Repairs the selected application. |
95
+
|[dscv3](dscv3.md)| PowerShell Desired State Configuration (DSC) v3 resource commands. |
96
96
97
97
### Options
98
98
@@ -101,12 +101,19 @@ The **WinGet** tool supports the following options.
101
101
| Option | Description |
102
102
|--------------|-------------|
103
103
|**-v, --version**| Returns the current version of WinGet. |
104
-
|**--info**| Provides you with all detailed information on WinGet, including the links to the license, privacy statement, and configured group policies. |
105
-
|**-?, --help**| Shows additional help for WinGet. |
104
+
|**--info**| Provides you with all detailed information on WinGet, including the links to the license, privacy statement, and configured group policies. |
105
+
|**-?, --help**| Shows additional help for WinGet. |
106
+
|**--wait**| Prompts the user to press any key before exiting. |
107
+
|**--logs,--open-logs**| Opens the default logs location. |
108
+
|**--verbose,--verbose-logs**| Enables verbose logging for winget. |
> When scripted, **WinGet** will install the applications in the specified order. When an installer returns success or failure, **WinGet** will launch the next installer. If an installer launches another process, it is possible that it will return to **WinGet** prematurely. This will cause **WinGet** to install the next installer before the previous installer has completed.
131
+
The [Microsoft.WinGet.Client](https://www.powershellgallery.com/packages/Microsoft.WinGet.Client/) PowerShell module is available on the PowerShell Gallery.
136
132
137
133
## Debugging and troubleshooting
138
134
139
135
**WinGet** provides logging to help diagnose issues. For troubleshooting and details on logging, see [Debugging and troubleshooting](./troubleshooting.md).
140
136
141
137
## Missing tools
142
138
143
-
If the [community repository](../package/repository.md) does not include your tool or application, please submit a package to our [repository](https://github.com/microsoft/winget-pkgs). By adding your favorite tool, it will be available to you and everyone else.
139
+
If the [community repository](../package/repository.md) does not include your tool or application, submit a package to our [repository](https://github.com/microsoft/winget-pkgs). By adding your favorite tool, it will be available to you and everyone else.
144
140
145
141
## Customize WinGet settings
146
142
@@ -150,9 +146,9 @@ You can configure the **WinGet** command line experience by modifying the **sett
150
146
151
147
The **WinGet** tool is open source software available on GitHub in the repo [https://github.com/microsoft/winget-cli/](https://github.com/microsoft/winget-cli/). The source for building the client is located in the [src folder](https://github.com/microsoft/winget-cli/tree/master/src).
152
148
153
-
The source for **WinGet** is contained in a Visual Studio 2019 C++ solution. To build the solution correctly, install the latest [Visual Studio with the C++ workload](https://visualstudio.microsoft.com/downloads/).
149
+
The source for **WinGet** is contained in a Visual Studio 2022 C++ solution. To build the solution correctly, clone the repository and run the appropriate WinGet Configuration file located in the ".github" directory.
154
150
155
-
We encourage you to contribute to the **WinGet** source on GitHub. You must first agree to and sign the Microsoft CLA.
151
+
We encourage you to contribute to the **WinGet** source on GitHub. You must first agree to and sign the Microsoft CLA. Pull requests should come from a branch on your own fork.
0 commit comments