tldr/pages/osx/brew.md

747 B

brew

Package manager for macOS.

  • Search for available formulas and casks:

brew search {{text}}

  • Install the latest stable version of a formula (use --devel for development versions):

brew install {{formula}}

  • List all installed formulae:

brew list

  • Update an installed formula (if no formula name is given, all installed formulae are updated):

brew upgrade {{formula}}

  • Fetch the newest version of Homebrew and all formulae from GitHub:

brew update

  • Show formulae that have a more recent version available:

brew outdated

  • Display information about a formula (version, installation path, dependencies, etc.):

brew info {{formula}}

  • Check your Homebrew installation for potential problems:

brew doctor