|
1 | 1 | ---
|
2 | 2 | title: winget download command
|
3 | 3 | description: Downloads an installer for a package.
|
4 |
| -ms.date: 07/07/2025 |
| 4 | +ms.date: 07/18/2025 |
5 | 5 | ms.topic: how-to
|
6 | 6 | ms.custom: sfi-ga-nochange
|
7 | 7 | ---
|
@@ -77,35 +77,35 @@ The options allow you to customize the download experience to meet your needs.
|
77 | 77 |
|
78 | 78 | | Option | Description |
|
79 | 79 | |-------------|-------------|
|
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. | |
109 | 109 |
|
110 | 110 | ### Example queries
|
111 | 111 |
|
|
0 commit comments