1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-31 00:37:56 +01:00
tldr/pages/osx/brew.md
2017-09-27 12:34:06 +01:00

737 B

brew

Package manager for macOS.

  • Search for available formulas:

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