brew
Homebrew - a package manager for macOS and Linux. Some subcommands such as `install` have their own usage documentation.
More info →Subcommands (18)
This command is an alias of `brew info`.
Remove unused formulae previously installed as dependencies.
Bundler for Homebrew, Homebrew Cask and the Mac App Store.
Remove stale lock files and outdated downloads for all formulas and casks.
Display information for Homebrew installation and formulae.
Install a Homebrew formula or cask.
List installed formulas that are not dependencies of another installed formula or cask.
List installed formulae/casks or their files.
List outdated casks and formulae. To upgrade everything, use `brew upgrade`.
Uninstall and then reinstall a formula or cask using the same options it was originally installed with.
This command is an alias of `brew uninstall`.
This command is an alias of `brew uninstall`.
Search for casks and formulae.
Manage background services with `launchctl` on macOS or `systemctl` on Linux.
Tap a Homebrew formula repository. If no arguments are provided, list all installed Homebrew taps.
Uninstall a Homebrew formula/cask. Use `brew autoremove` to remove unused dependencies afterwards.
Fetch the newest version of Homebrew and all formulae from GitHub using `git` and perform any necessary migrations. To upgrade all installed formulae, use `brew upgrade`.
Upgrade outdated formulae and casks.
Examples (8)
Install the latest stable version of a formula or cask
brew install formula|caskList all installed formulae and casks
Upgrade an installed formula or cask (if none is given, all installed formulae/casks are upgraded)
brew upgrade formula|caskFetch 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)
brew search textDisplay information about a formula or a cask (version, installation path, dependencies, etc.)
brew info formula|caskCheck the local Homebrew installation for potential problems
brew doctor