CLI / Package manager
Homebrew
A package manager that installs and maintains command-line tools, libraries, and applications on macOS and Linux.
Problem it solves
Why it exists.
It makes developer workstation setup repeatable and keeps command-line dependencies easy to install and update.
Optimized for
Where it shines.
Local development environments, bootstrap scripts, and managing Unix tooling on laptops and CI runners.
Use with care
Where not to use it.
Do not treat workstation packages as production dependencies without pinning versions and validating the target environment.
Components
What it is made of.
- Formulae
- Casks
- Taps
- Cellar
- brew CLI
Process
How it works.
- A formula or cask describes a package
- Homebrew downloads and verifies it
- The package is installed and linked
- Updates and cleanup keep the environment current