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/export.md
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,19 +25,23 @@ The **export** command is often used to create a file that you can share with ot
25
25
The following arguments are available.
26
26
27
27
| Argument | Description |
28
-
|-------------|-------------|
28
+
|-------------|-------------|
29
29
|**-o,--output**| Path to the JSON file to be created |
30
30
31
31
## Options
32
32
33
33
The options allow you to customize the export experience to meet your needs.
34
34
35
35
| Option | Description |
36
-
|----------------|-------------|
36
+
|----------------|-------------|
37
37
|**-s, --source**|[Optional] Specifies a source to export files from. Use this option when you only want files from a specific source. |
38
38
|**--include-versions**|[Optional] Includes the version of the app currently installed. Use this option if you want a specific version. By default, unless specified, [**import**](./import.md) will use latest. |
39
39
|**--accept-source-agreements**| Used to accept the source license agreement, and avoid the prompt. |
40
-
|**--verbose-logs**| Used to override the logging setting and create a verbose log. |
40
+
|**-?,--help**| Shows help about the selected command. |
41
+
|**--wait**| Prompts the user to press any key before exiting. |
42
+
|**--logs,--open-logs**| Open the default logs location. |
43
+
|**--verbose, --verbose-logs**| Used to override the logging setting and create a verbose log. |
Copy file name to clipboardExpand all lines: hub/package-manager/winget/install.md
+28-19Lines changed: 28 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ ms.localizationpriority: medium
8
8
9
9
# install command (winget)
10
10
11
-
The **install** command of the [winget](index.md) tool installs the specified application. Use the [**search**](search.md) command to identify the application you want to install.
11
+
The **install** command of the [winget](index.md) tool installs the specified application. Use the [**search**](search.md) command to identify the application you want to install.
12
12
13
13
The **install** command requires that you specify the exact string to install. If there is any ambiguity, you will be prompted to further filter the **install** command to an exact application.
14
14
@@ -23,9 +23,8 @@ The **install** command requires that you specify the exact string to install. I
23
23
The following arguments are available.
24
24
25
25
| Argument | Description |
26
-
|-------------|-------------|
26
+
|-------------|-------------|
27
27
|**-q,--query**| The query used to search for an app. |
28
-
|**-?, --help**| Get additional help on this command. |
29
28
30
29
> [!NOTE]
31
30
> The query argument is positional. Wild-card style syntax is not supported. This is most often the string of characters you expect to uniquely identify the package you wish to install.
@@ -35,28 +34,38 @@ The following arguments are available.
35
34
The options allow you to customize the install experience to meet your needs.
36
35
37
36
| Option | Description |
38
-
|-------------|-------------|
37
+
|-------------|-------------|
39
38
|**-m, --manifest**| Must be followed by the path to the manifest (YAML) file. You can use the manifest to run the install experience from a [local YAML file](#local-install). |
40
-
|**--id**| Limits the install to the ID of the application. |
41
-
|**--name**| Limits the search to the name of the application. |
42
-
|**--moniker**| Limits the search to the moniker listed for the application. |
43
-
|**-v, --version**| Enables you to specify an exact version to install. If not specified, latest will install the highest versioned application. |
44
-
|**-s, --source**| Restricts the search to the source name provided. Must be followed by the source name. |
45
-
|**--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).|
46
-
|**-a, --architecture**| Select the architecture to install. |
47
-
|**-e, --exact**| Uses the exact string in the query, including checking for case-sensitivity. It will not use the default behavior of a substring. |
48
-
|**-i, --interactive**| Runs the installer in interactive mode. The default experience shows installer progress. |
49
-
|**-h, --silent**| Runs the installer in silent mode. This suppresses all UI. The default experience shows installer progress. |
39
+
|**--id**| Limits the install to the ID of the application. |
40
+
|**--name**| Limits the search to the name of the application. |
41
+
|**--moniker**| Limits the search to the moniker listed for the application. |
42
+
|**-v, --version**| Enables you to specify an exact version to install. If not specified, latest will install the highest versioned application. |
43
+
|**-s, --source**| Restricts the search to the source name provided. Must be followed by the source name. |
44
+
|**--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).|
45
+
|**-a, --architecture**| Select the architecture to install. |
46
+
|**-e, --exact**| Uses the exact string in the query, including checking for case-sensitivity. It will not use the default behavior of a substring. |
47
+
|**-i, --interactive**| Runs the installer in interactive mode. The default experience shows installer progress. |
48
+
|**-h, --silent**| Runs the installer in silent mode. This suppresses all UI. The default experience shows installer progress. |
50
49
|**--locale**| Specifies which locale to use (BCP47 format). |
51
50
|**-o, --log**| Directs the logging to a log file. You must provide a path to a file that you have the write rights to. |
51
+
|**--custom**| Arguments to be passed on to the installer in addition to the defaults. |
52
52
|**--override**| A string that will be passed directly to the installer. |
53
53
|**-l, --location**| Location to install to (if supported). |
54
-
|**--force**| Overrides the installer hash check. Not recommended. |
54
+
|**--ignore-security-hash**| Ignore the installer hash check failure. Not recommended. |
55
+
|**--ignore-local-archive-malware-scan**| Ignore the malware scan performed as part of installing an archive type package from local manifest. |
56
+
|**--dependency-source**| Find package dependencies using the specified source. |
55
57
|**--accept-package-agreements**| Used to accept the license agreement, and avoid the prompt. |
56
58
|**--accept-source-agreements**| Used to accept the source license agreement, and avoid the prompt. |
59
+
|**--no-upgrade**| Skips upgrade if an installed version already exists. |
@@ -85,7 +94,7 @@ If the query provided to **winget** does not result in a single application, the
85
94
The best way to limit the selection to one file is to use the **id** of the application combined with the **exact** query option. For example:
86
95
87
96
```CMD
88
-
winget install --id Git.Git -e
97
+
winget install --id Git.Git -e
89
98
```
90
99
91
100
If multiple sources are configured, it is possible to have duplicate entries. Specifying a source is required to further disambiguate.
@@ -107,7 +116,7 @@ The **manifest** option enables you to install an application by passing in a YA
107
116
Usage: `winget install --manifest \<path>`
108
117
109
118
| Option | Description |
110
-
|---------|-------------|
119
+
|---------|-------------|
111
120
|**-m, --manifest**| The path to the manifests of the application to install. |
112
121
113
122
> [!NOTE]
@@ -119,7 +128,7 @@ The log files for winget unless redirected, will be located in the following fol
119
128
120
129
## License Agreements
121
130
122
-
Some applications when installed will require the user to agree to the license or other agreements before installing. When this occurs, the Windows Package Manager will prompt the user to agree to the agreements. If the user does not agree, the application will not install.
131
+
Some applications when installed will require the user to agree to the license or other agreements before installing. When this occurs, the Windows Package Manager will prompt the user to agree to the agreements. If the user does not agree, the application will not install.
Copy file name to clipboardExpand all lines: hub/package-manager/winget/list.md
+18-13Lines changed: 18 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
title: list Command
3
-
description: Displays the list of listed apps and if an update is available.
3
+
description: Displays the list of listed apps and if an update is available.
4
4
ms.date: 05/5/2021
5
5
ms.topic: overview
6
6
ms.localizationpriority: medium
@@ -28,9 +28,8 @@ The **list** command also supports filters which can be used to limit your list
28
28
The following arguments are available.
29
29
30
30
| Argument | Description |
31
-
|-------------|-------------|
31
+
|-------------|-------------|
32
32
|**-q,--query**| The query used to search for an app. |
33
-
|**-?, --help**| Get additional help on this command. |
34
33
35
34
> [!NOTE]
36
35
> The query argument is positional. Wild-card style syntax is not supported. This is most often the string of characters you expect to help find the installed package you are searching for.
@@ -40,18 +39,24 @@ The following arguments are available.
40
39
The options allow you to customize the list experience to meet your needs.
41
40
42
41
| Option | Description |
43
-
|-------------|-------------|
44
-
|**--id**| Limits the list to the ID of the application. |
45
-
|**--name**| Limits the list to the name of the application. |
46
-
|**--moniker**| Limits the list to the moniker listed for the application. |
47
-
|**-s, --source**| Restricts the list to the source name provided. Must be followed by the source name. |
48
-
|**--tag**| Filters results by tags. |
49
-
|**--command**| Filters results by command specified by the application. |
42
+
|-------------|-------------|
43
+
|**--id**| Limits the list to the ID of the application. |
44
+
|**--name**| Limits the list to the name of the application. |
45
+
|**--moniker**| Limits the list to the moniker listed for the application. |
46
+
|**-s, --source**| Restricts the list to the source name provided. Must be followed by the source name. |
47
+
|**--tag**| Filters results by tags. |
48
+
|**--cmd, --command**| Filters results by command specified by the application. |
50
49
|**-n, --count**| Limits the number of apps displayed in one query. |
51
-
|**-e, --exact**| Uses the exact string in the list query, including checking for case-sensitivity. It will not use the default behavior of a substring. |
52
-
|**--accept-source-agreements**|Used to accept the source license agreement, and avoid the prompt. |
50
+
|**-e, --exact**| Uses the exact string in the list query, including checking for case-sensitivity. It will not use the default behavior of a substring. |
51
+
|**--scope**|Select installed package scope filter (user or machine). |
0 commit comments