Skip to main content

zerobrew

zerobrew is a fast Homebrew-compatible package installer written in Rust that brings uv-style architecture to Homebrew packages on macOS and Linux.

Why zerobrew?

zerobrew is more of a performance-optimized client for the Homebrew ecosystem. It relies on Homebrew’s formula definitions, pre-built bottles, and package infrastructure while providing significant performance improvements through:
  • Content-addressable storage for deduplication
  • APFS clonefiles for zero-overhead copying on macOS
  • Source build fallback using Homebrew’s Ruby DSL
  • Parallel downloads and installations

Performance snapshot

PackageHomebrewZB (cold)ZB (warm)Cold SpeedupWarm Speedup
Overall (top 100)452s226s59s2.0x7.6x
ffmpeg3034ms3481ms688ms0.9x4.4x
libsodium2353ms392ms130ms6.0x18.1x
sqlite2876ms625ms159ms4.6x18.1x
tesseract18950ms5536ms643ms3.4x29.5x
zerobrew is experimental. We recommend running it alongside Homebrew rather than as a replacement, and do not recommend purging Homebrew unless you are absolutely sure about the implications.

Get started

Installation

Install zerobrew on macOS or Linux in seconds

Quick start

Get started with your first zerobrew command

Project status

zerobrew is currently experimental, but already useful for many common Homebrew formulas. If you hit incompatibilities, please open an issue or PR on GitHub.

License

Dual-licensed under Apache 2.0 OR MIT, at your choice.

Build docs developers (and LLMs) love