Homebrew is the de facto standard package manager for macOS, used by millions of developers to install and manage software.
Core Features
- Simple Installation — One-line install script gets you started
- Formulae — Install command-line tools like
git,node,python - Casks — Install GUI applications like Chrome, VS Code, Slack
- Taps — Add third-party repositories for specialized software
- Bundle — Define your entire setup in a
Brewfile
Essential Commands
# Install a formula
brew install git
# Install an application
brew install --cask visual-studio-code
# Update everything
brew update && brew upgrade
# Search for packages
brew search postgres
Why Use Homebrew?
- Keeps software up to date with a single command
- Installs to
/opt/homebrew(Apple Silicon) — no sudo required - Massive repository of packages
- Great for reproducible development environments