mirror of https://github.com/CrimsonTome/tldr.git
29 lines
639 B
Markdown
29 lines
639 B
Markdown
# choco search
|
|
|
|
> Search for a local or remote package with Chocolatey.
|
|
> Homepage: <https://chocolatey.org/docs/commands-search>.
|
|
|
|
- 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}}`
|