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}}