LinuxCommandLibrary

brew-list

List installed Homebrew packages

TLDR

List all installed packages

$ brew list
copy
List installed formulae only
$ brew list --formula
copy
List installed casks only
$ brew list --cask
copy
List with versions
$ brew list --versions
copy
Check if specific package is installed
$ brew list [package]
copy
List with verbose file information
$ brew list --verbose [package]
copy
List top-level packages (not dependencies)
$ brew leaves
copy

SYNOPSIS

brew list [options] [formula|cask]

DESCRIPTION

brew list displays all installed formulae and casks. Without arguments, it lists all packages. With a package name, it shows the installed files for that package.
Aliases: brew ls

PARAMETERS

--formula

List installed formulae only
--cask
List installed casks only
--versions
Show version numbers alongside packages
--verbose
Display installed files for each package
--pinned
List pinned formulae only
--multiple
List packages with multiple versions
-1
Force output to one entry per line
-l
List files in long format
-r
Reverse sort order
-t
Sort by modification time

RELATED COMMANDS

brew leaves

Show top-level packages that are not dependencies
brew deps --tree --installed
Show installed packages with dependency tree

CAVEATS

Output format varies based on terminal capabilities and flags. Use --versions to distinguish between multiple installed versions of the same package.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community