Homebrew is the most widely used package manager for macOS and Linux, often described as the missing package manager that Apple did not include with the operating system. It simplifies the installation, updating, and management of command-line tools, programming languages, libraries, and even GUI applications through a consistent, easy-to-use interface. Homebrew solves the fundamental problem of software installation on macOS, where there is no built-in package manager comparable to apt or yum on Linux distributions.
Homebrew uses Ruby-based formulas to build software from source and provides pre-built binary packages called bottles for faster installation. It installs packages to their own isolated directories and symlinks them into a standard location, keeping the system clean and organized. Homebrew Cask extends the package manager to handle macOS GUI applications, fonts, and plugins, automating the download and installation of .dmg and .zip files into the Applications folder. The framework includes automatic dependency resolution, version tracking, and simple commands like brew install, brew upgrade, and brew uninstall.
Homebrew is essential for virtually every macOS developer and is increasingly used on Linux systems as well. It is the standard way to install developer tools like Git, Node.js, Python, PostgreSQL, and hundreds of other packages in the Apple ecosystem. With its massive catalog of over 6,000 formulas and 5,000 casks, Homebrew integrates into every development workflow and is typically one of the first tools installed on a new Mac, making it a foundational component of the macOS development experience.