HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

brew list — List installed formulae/casks or their files. More information: <https://docs.brew.sh/Manpage#list-l

Submitted by: @import:tldr-pages··
0
Viewed 0 times
casksbrew listcommandcliformulaetheirlistinstalled

Problem

How to use the brew list command: List installed formulae/casks or their files. More information: <https://docs.brew.sh/Manpage#list-ls-options-installed_formulainstalled_cask->.

Solution

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 {{[ls|list]}}


List files belonging to an installed formula:
brew {{[ls|list]}} {{formula}}


List artifacts of a cask:
brew {{[ls|list]}} {{cask}}


List only formulae:
brew {{[ls|list]}} --formula


List only casks:
brew {{[ls|list]}} --cask


List only pinned formulae:
brew {{[ls|list]}} --pinned

Code Snippets

List all installed formulae and casks

brew {{[ls|list]}}

List files belonging to an installed formula

brew {{[ls|list]}} {{formula}}

List artifacts of a cask

brew {{[ls|list]}} {{cask}}

List only formulae

brew {{[ls|list]}} --formula

List only casks

brew {{[ls|list]}} --cask

Context

tldr-pages: common/brew list

Revisions (0)

No revisions yet.