talira

Homebrew

The Package Manager for Everywhere

open sourceBSD-2-Clauseself-hostablefree

Homebrew installs command-line tools and applications on macOS, Linux and WSL with brew install. Formulae build tools, libraries and services from upstream source (usually installed as prebuilt bottles), and casks install upstream app binaries, fonts and plugins on macOS; both official repositories are reviewed by people, and taps let anyone publish their own. It installs each package into its own keg in the Cellar and symlinks it into its prefix, never outside it. Homebrew Bundle installs everything a Brewfile lists, including Mac App Store apps, VS Code extensions and more, and brew services runs background services. Packages are browsable at formulae.brew.sh, with a JSON API. BSD-2-Clause, run by volunteers.

What it installs

Popular software you can install with Homebrew. Homebrew's own catalog1 has everything it installs, and changes more often than this list.

View 657 more

Problems it solves

  • install wget, ffmpeg or Postgres on my Mac from the terminal without hunting for installers
  • set up a new Mac with all my apps and command-line tools from one file
  • keep every developer tool and app on my laptop updated with one command
  • install Firefox, VS Code and Docker Desktop from the command line instead of dragging DMGs around
  • get the same versions of CLI tools on my Mac and my Linux server
  • install a tool without sudo or touching system files outside one folder
  • publish my CLI so Mac users can install it with one command
  • run Redis or Postgres as a background service on my Mac and start it at login
  • look up which version of a package is available and what it depends on

Features

  • formulae that build command-line tools, libraries and services from upstream source, installed as bottles
  • casks that install macOS apps, fonts and plugins from upstream binaries
  • human review for homebrew/core and homebrew/cask; open source licences required in core
  • taps: third-party repositories of formulae and casks
  • installs each package into its own keg and symlinks into its prefix
  • Homebrew Bundle and Brewfiles, including Mac App Store apps, VS Code extensions, Go and Cargo packages and uv tools
  • brew services to run background services
  • formulae.brew.sh package browser and JSON API
  • external commands to extend brew
  • .pkg installer for interactive or MDM installs on macOS

Limitations

  • Doesn't run natively on Windows: it supports macOS, Linux and Windows Subsystem for Linux (WSL)2
  • Doesn't support macOS before Sequoia 152

Capabilities

Has an APIplan not known
Has a command line toolplan not known
Takes pluginsplan not known

Alternatives

The same job

These do what Homebrew does.

  1. WinGet The Windows Package Manager
  2. Nix Purely functional package manager for reproducible, declarative builds
  3. APT The main command-line package manager for Debian and its derivatives
  4. Snap The app store for Linux
  5. mas Mac App Store command-line interface

Compare Homebrew with the top 3