2018-03-15 16:59:30 +00:00
|
|
|
# choco search
|
|
|
|
|
|
|
|
> Search for a local or remote package with Chocolatey.
|
2019-06-03 01:06:36 +01:00
|
|
|
> More information: <https://chocolatey.org/docs/commands-search>.
|
2018-03-15 16:59:30 +00:00
|
|
|
|
|
|
|
- Search for a package:
|
|
|
|
|
|
|
|
`choco search {{query}}`
|
|
|
|
|
|
|
|
- Search for a package locally:
|
|
|
|
|
|
|
|
`choco search {{query}} --local-only`
|
|
|
|
|
|
|
|
- Only include exact matches in the results:
|
|
|
|
|
|
|
|
`choco search {{query}} --exact`
|
|
|
|
|
|
|
|
- Confirm all prompts automatically:
|
|
|
|
|
|
|
|
`choco search {{query}} --yes`
|
|
|
|
|
|
|
|
- Specify a custom source to search for packages in:
|
|
|
|
|
|
|
|
`choco search {{query}} --source {{source_url|alias}}`
|
|
|
|
|
|
|
|
- Provide a username and password for authentication:
|
|
|
|
|
|
|
|
`choco search {{query}} --user {{username}} --password {{password}}`
|