tldr/pages/windows/choco-search.md

28 lines
580 B
Markdown

# choco search
> Search for a local or remote package with Chocolatey.
- 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}}`