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/install.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ The following arguments are available.
32
32
|**-q,--query**| The query used to search for an app. |
33
33
34
34
> [!NOTE]
35
-
> 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
+
> The query argument is positional. By default, winget performs a **case-insensitive substring match** against the package name, ID, and moniker. Wild-card syntax is not supported. Use **-e, --exact** to require an exact match (case-sensitive). Use **--id**, **--name**, or **--moniker** to restrict which field is searched.
36
36
37
37
## Options
38
38
@@ -62,12 +62,12 @@ The options allow you to customize the install experience to meet your needs.
62
62
|**--skip-dependencies**| Skips processing package dependencies and Windows features. |
63
63
|**--ignore-local-archive-malware-scan**| Ignore the malware scan performed as part of installing an archive type package from local manifest. |
64
64
|**--dependency-source**| Find package dependencies using the specified source. |
65
-
|**--accept-package-agreements**|Used to accept the license agreement, and avoid the prompt. |
65
+
|**--accept-package-agreements**|Accepts any license agreements or EULAs presented by the package installer, suppressing the interactive prompt. This applies to the package's own license terms only — it does not affect optional components or bundled software offered by the installer. For a fully non-interactive install, combine with **--silent (-h)**. |
66
66
|**--no-upgrade**| Skips upgrade if an installed version already exists. |
|**--authentication-mode**| Specify authentication window preference (silent, silentPreferred or interactive). |
69
69
|**--authentication-account**| Specify the account to be used for authentication. |
70
-
|**--accept-source-agreements**|Used to accept the source license agreement, and avoid the prompt. |
70
+
|**--accept-source-agreements**|Accepts the license agreement for the WinGet source (repository), suppressing the interactive prompt. This is separate from any package license — it covers the terms of use for the source itself, such as the winget community repository. |
71
71
|**-r, --rename**| The value to rename the executable file (portable). |
72
72
|**--uninstall-previous**| Uninstall the previous version of the package during upgrade. |
73
73
|**--force**| Direct run the command and continue with non security related issues. |
Copy file name to clipboardExpand all lines: hub/package-manager/winget/search.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ The following arguments are available.
34
34
|**-q,--query**| The query flag is the default argument used to search for an app. It does not need to be specified. Entering the command `winget search foo` will default to using `--query` so including it is unnecessary.|
35
35
36
36
> [!NOTE]
37
-
> 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 package you are searching for.
37
+
> The query argument is positional. winget performs a **case-insensitive substring match** against the package name, ID, and moniker. Wild-card syntax is not supported. Use **-e, --exact** to require an exact, case-sensitive match. Use **--id**, **--name**, or **--moniker** to restrict which field is searched.
0 commit comments