1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-10 18:15:50 +02:00
tldr/pages/common/brew-search.md
Managor ba6daef39d
*: standardize regex usage (#17328)
Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com>
2025-07-25 08:50:06 +03:00

24 lines
485 B
Markdown

# brew search
> Search for casks and formulae.
> More information: <https://docs.brew.sh/Manpage#search--s-options-textregex->.
- Search for casks and formulae using a keyword:
`brew search {{keyword}}`
- Search for casks and formulae using a `regex`:
`brew search /{{regex}}/`
- Enable searching through descriptions:
`brew search --desc {{keyword}}`
- Only search for formulae:
`brew search --formula {{keyword}}`
- Only search for casks:
`brew search --cask {{keyword}}`