brew list
List installed formulae/casks or their files. More information: https://docs.brew.sh/Manpage#list-ls-options-installed_formulainstalled_cask-.
- List all installed formulae and casks:
brew list
- List files belonging to an installed formula:
brew list {{formula}}
- List artifacts of a cask:
brew list {{cask}}
- List only formulae:
brew list --formula
- List only casks:
brew list --cask