mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-01 16:42:35 +00:00
30 lines
602 B
Plaintext
30 lines
602 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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 regular expression:
|
|
|
|
`brew search /{{regular_expression}}/`
|
|
|
|
- Enable searching through descriptions:
|
|
|
|
`brew search --desc {{keyword}}`
|
|
|
|
- Only search for formulae:
|
|
|
|
`brew search --formula {{keyword}}`
|
|
|
|
- Only search for casks:
|
|
|
|
`brew search --cask {{keyword}}`
|