← All open source projects

Homebrew

Homebrew/brew

Homebrew is a package manager for macOS and Linux that installs CLI tools, apps, and libraries through formulae and casks.

Forks 11,155
Author Homebrew
Language Ruby
License BSD-2-Clause
Synced 2026-06-10

What it is

Homebrew is the package manager many macOS users install almost immediately after setting up the system. It installs command-line tools, libraries, services, and applications, and it can update or remove them with familiar commands. Homebrew now works on Linux as well as macOS.

The Homebrew/brew repository contains the core package manager. The surrounding ecosystem is broader: formulae describe packages, casks install graphical applications, taps add third-party package sets, and bottles provide prebuilt binaries where possible.

What is inside the repository

Inside is the Ruby code for the CLI, commands, tests, documentation, installation logic, update logic, diagnostics, and package-description handling. The project is volunteer-run and explicitly notes that donations fund infrastructure, hardware, CI, and future improvements.

Daily usage

This example shows a typical command set: install a package, check environment issues, update package indexes, and upgrade installed software.

Language: Bash
brew install ripgrep
brew doctor
brew update
brew upgrade

Where it is useful

Homebrew is useful for developers, administrators, and macOS users who need to quickly install git, node, python, ffmpeg, postgresql, imagemagick, browsers, editors, and many other tools. On new work machines it often becomes part of a bootstrap script.

Strengths and limits

Homebrew’s strength is its huge package ecosystem and familiar user experience. The limitations are around trust in formulae, version conflicts, and system-path quirks. It is used more carefully on production servers than system package managers, but for workstations and development environments Homebrew remains the de facto standard.