commands.sh

brew

all

Homebrew - a package manager for macOS and Linux. Some subcommands such as `install` have their own usage documentation.

More info →

Subcommands (18)

Examples (8)

Install the latest stable version of a formula or cask

brew install formula|cask

List all installed formulae and casks

Upgrade an installed formula or cask (if none is given, all installed formulae/casks are upgraded)

brew upgrade formula|cask

Fetch the newest version of Homebrew and of all formulae and casks from the Homebrew source repository

Show formulae and casks that have a more recent version available

Search for available formulae (i.e. packages) and casks (i.e. native macOS `.app` packages)

Display information about a formula or a cask (version, installation path, dependencies, etc.)

brew info formula|cask

Check the local Homebrew installation for potential problems

brew doctor
made by @shridhargupta | data from tldr-pages