Skip to content

Commit 6255bd5

Browse files
Merge pull request #5669 from MicrosoftDocs/main
Auto Publish – main to live - 2025-08-07 05:00 UTC
2 parents 8d6f173 + 1c2bd90 commit 6255bd5

File tree

3 files changed

+39
-38
lines changed

3 files changed

+39
-38
lines changed

hub/package-manager/winget/configure.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
---
22
title: configure Command
33
description: Uses a winget configuration file to begin setting up your Windows machine to a desired development environment state.
4-
ms.date: 05/23/2023
4+
ms.date: 07/16/2025
55
ms.topic: overview
6-
ms.localizationpriority: medium
76
---
87

98
# configure command (winget)
@@ -27,9 +26,11 @@ The following aliases are available for this command:
2726

2827
## Usage
2928

30-
`winget configure -f <C:/Users/<username>/winget-configs/config-file-name.dsc.yaml>`
29+
`winget configure -f <C:/Users/<username>/winget-configs/config-file-name.dsc.winget>`
3130

32-
Once you have identified the winget configuration file that you are interested in using, confirmed the safety and trustworthiness of that file, and downloaded the file to your local machine, you can use the `winget configure` command to initiate the set up of your configuration.
31+
Once you have identified the WinGet configuration file that you are interested in using, confirmed the safety and trustworthiness of that file, and downloaded the file to your local machine, you can use the `winget configure` command to initiate the set up of your configuration.
32+
33+
:::image type="content" source="./images/configure.png" alt-text="Screenshot listing winget configure command options." lightbox="./images/configure.png":::
3334

3435
## Arguments and options
3536

@@ -59,10 +60,10 @@ The following arguments are available:
5960
The `winget configure` command includes a number of subcommands, including:
6061

6162
- **`winget configure show`**: Displays the details of a configuration file. Usage: `winget configure show -f <file>`. Running the command: `winget configuration show configuration.dsc.yaml` will display the details of the configuration in the current working directory.
62-
- `winget configure list`: Shows the high level details for configurations that have been applied to the system. This data can then be used with other `configure` commands to get more details. Usage: `winget configure list [<options>]`
63-
- `winget configure test`: Checks the system against the desired state, displaying whether the current system state conforms with the desired state defined in the associated configuration file. Usage: `winget configure test -f <file>`.
64-
- `winget configure validate`: Validates a configuration file. Usage: `winget configure validate [-f] <file> [<options>]`.
65-
- `winget configure export`: Exports configuration resources to a configuration file. When used with `--all`, exports all package configurations. When used with `--packageId`, exports a WinGetPackage resource of the given package identifier. When used with `--module` and `--resource`, exports the settings of the specified resource. If the output configuration file already exists, appends the exported configuration resources. Usage: `winget configure export -o <output file> [<options>]`
63+
- **`winget configure list`**: Shows the high level details for configurations that have been applied to the system. This data can then be used with other `configure` commands to get more details. Usage: `winget configure list [<options>]`
64+
- **`winget configure test`**: Checks the system against the desired state, displaying whether the current system state conforms with the desired state defined in the associated configuration file. Usage: `winget configure test -f <file>`.
65+
- **`winget configure validate`**: Validates a configuration file. Usage: `winget configure validate [-f] <file> [<options>]`.
66+
- **`winget configure export`**: Exports configuration resources to a configuration file. When used with `--all`, exports all package configurations. When used with `--packageId`, exports a WinGetPackage resource of the given package identifier. When used with `--module` and `--resource`, exports the settings of the specified resource. If the output configuration file already exists, appends the exported configuration resources. Usage: `winget configure export -o <output file> [<options>]`
6667

6768
## Related topics
6869

hub/package-manager/winget/download.md

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: winget download command
33
description: Downloads an installer for a package.
4-
ms.date: 07/07/2025
4+
ms.date: 07/18/2025
55
ms.topic: how-to
66
ms.custom: sfi-ga-nochange
77
---
@@ -77,35 +77,35 @@ The options allow you to customize the download experience to meet your needs.
7777

7878
| Option | Description |
7979
|-------------|-------------|
80-
| **-d, --download-directory** | Directory where the installers are downloaded to. |
81-
| **-m, --manifest** | Must be followed by the path to the manifest (YAML) file. |
82-
| **--id** | Limits the download to the ID of the application. |
83-
| **--name** | Limits the search to the name of the application. |
84-
| **--moniker** | Limits the search to the moniker listed for the application. |
85-
| **-v, --version** | Enables you to specify an exact version to install. If not specified, latest will download the highest versioned application. |
86-
| **-s, --source** | Restricts the search to the source name provided. Must be followed by the source name. |
87-
| **--scope** | Allows you to specify if the installer should target user or machine scope. See [known issues relating to package installation scope](./troubleshooting.md#scope-for-specific-user-vs-machine-wide).|
88-
| **-a, --architecture** | Select the architecture to download. |
89-
| **--installer-type** | Select the installer type to download. |
90-
| **-e, --exact** | Uses the exact string in the query, including checking for case-sensitivity. It will not use the default behavior of a substring. |
91-
| **--locale** | Specifies which locale to use (BCP47 format). |
92-
| **--ignore-security-hash** | Ignore the installer hash check failure. Not recommended. |
93-
| **--skip-dependencies** | Skips processing package dependencies and Windows features. |
94-
| **--header** | Optional Windows-Package-Manager REST source HTTP header. |
95-
| **--authentication-mode** | Specify authentication window preference (silent, silentPreferred or interactive). |
96-
| **--authentication-account** | Specify the account to be used for authentication. |
97-
| **--accept-package-agreements** | Used to accept the license agreement, and avoid the prompt. |
98-
| **--accept-source-agreements** | Used to accept the source license agreement, and avoid the prompt. |
99-
| **--skip-license,--skip-microsoft-store-package-license** | Skips retrieving Microsoft Store package offline license. |
100-
| **--platform** | Select the target platform. |
101-
| **-?, --help** | Get additional help on this command. |
102-
| **--wait** | Prompts the user to press any key before exiting. |
103-
| **--logs,--open-logs** | Open the default logs location. |
104-
| **--verbose, --verbose-logs** | Used to override the logging setting and create a verbose log. |
105-
| **--nowarn,--ignore-warnings** | Suppresses warning outputs. |
106-
| **--disable-interactivity** | Disable interactive prompts. |
107-
| **--proxy** | Set a proxy to use for this execution. |
108-
| **--no-proxy** | Disable the use of proxy for this execution. |
80+
| **`-d, --download-directory`** | Directory where the installers are downloaded to. |
81+
| **`-m, --manifest`** | Must be followed by the path to the manifest (YAML) file. |
82+
| **`--id`** | Limits the download to the ID of the application. |
83+
| **`--name`** | Limits the search to the name of the application. |
84+
| **`--moniker`** | Limits the search to the moniker listed for the application. |
85+
| **`-v, --version`** | Enables you to specify an exact version to install. If not specified, latest will download the highest versioned application. |
86+
| **`-s, --source`** | Restricts the search to the source name provided. Must be followed by the source name. |
87+
| **`--scope`** | Allows you to specify if the installer should target user or machine scope. See [known issues relating to package installation scope](./troubleshooting.md#scope-for-specific-user-vs-machine-wide).|
88+
| **`-a, --architecture`** | Select the architecture to download. |
89+
| **`--installer-type`** | Select the installer type to download. |
90+
| **`-e, --exact`** | Uses the exact string in the query, including checking for case-sensitivity. It will not use the default behavior of a substring. |
91+
| **`--locale`** | Specifies which locale to use (BCP47 format). |
92+
| **`--ignore-security-hash`** | Ignore the installer hash check failure. Not recommended. |
93+
| **`--skip-dependencies`** | Skips processing package dependencies and Windows features. |
94+
| **`--header`** | Optional Windows-Package-Manager REST source HTTP header. |
95+
| **`--authentication-mode`** | Specify authentication window preference (silent, silentPreferred or interactive). |
96+
| **`--authentication-account`** | Specify the account to be used for authentication. |
97+
| **`--accept-package-agreements`** | Used to accept the license agreement, and avoid the prompt. |
98+
| **`--accept-source-agreements`** | Used to accept the source license agreement, and avoid the prompt. |
99+
| **`--skip-license,--skip-microsoft-store-package-license`** | Skips retrieving Microsoft Store package offline license. |
100+
| **`--platform`** | Select the target platform. |
101+
| **`-?, --help`** | Get additional help on this command. |
102+
| **`--wait`** | Prompts the user to press any key before exiting. |
103+
| **`--logs,--open-logs`** | Open the default logs location. |
104+
| **`--verbose, --verbose-logs`** | Used to override the logging setting and create a verbose log. |
105+
| **`--nowarn,--ignore-warnings`** | Suppresses warning outputs. |
106+
| **`--disable-interactivity`** | Disable interactive prompts. |
107+
| **`--proxy`** | Set a proxy to use for this execution. |
108+
| **`--no-proxy`** | Disable the use of proxy for this execution. |
109109

110110
### Example queries
111111

105 KB
Loading

0 commit comments

Comments
 (0)