README.md 1.1 KB

Homebrew

  • The Missing Package Manager for macOS

Installing brew

Homebrew (brew) can be installed with the following command:

/bin/zsh -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Brewfile

The Brewfile describes the Homebrew Bundle of packages currently installed with brew. It can be managed with brew bundle.

Find installed packages absent from the Brewfile with the following command:

brew bundle cleanup

Clean up installed packages with the following command:

brew bundle cleanup --force

Glossary

  • Formula: A package script that tells Homebrew how to install a tool.
  • Cask: An extension to Homebrew for installing macOS applications.
  • Keg: The installation directory for a particular version of a formula. Kegs are located inside Homebrew's "Cellar", and Homebrew creates symlinks from them to make the software accessible.
  • Tap: A third-party Git repository containing additional formulae not included in Homebrew's main collection.