A 100x faster* alternative to homebrew
zerobrew English · 中文 zerobrew brings uv-style architecture to Homebrew packages on macOS and Linux. Install curl -fsSL https://zerobrew.rs/install | bash The installer updates your shell config. After it finishes, restart your terminal or run the source command it prints. Or via Homebrew: brew install zerobrewhq/zerobrew/zerobrew Update zerobrew If you used the standalone installer, rerun it: curl -fsSL https://zerobrew.rs/install | bash zb --version If you installed with Homebrew: brew update && brew upgrade zerobrew If you installed from the old lucasgelfond/zerobrew tap, it's no longer updated. Switch to the new one: brew uninstall zerobrew brew untap lucasgelfond/zerobrew brew install zerobrewhq/zerobrew/zerobrew Quick start zb install jq # install one package zb install wget git # install multiple zb bundle # install from Brewfile zb bundle install -f myfile # install from custom file zb bundle dump # export installed packages to Brewfile zb bundle dump -f out --force # dump to custom file (overwrite) zb uninstall jq # uninstall one package zb outdated # list packages with newer versions zb upgrade # upgrade all outdated packages zb upgrade jq wget # upgrade specific packages zb reset # uninstall everything zb gc # garbage collect unused store entries zbx jq --version # run without linking Performance snapshot Measured on 2026-10-08 with zerobrew 0.3.5 (development release) and Homebrew 7.0.8 on macOS 26.6.2, MacBook Pro (M3 Pro, 18 GB RAM), ~318 Mbit/s download bandwidth. Homebrew started with nothing installed. Cold: the package and all of its dependencies uninstalled, empty download cache. Warm: the package and all of its dependencies uninstalled, downloads from the cold run still cached. The median package was 5.3x faster cold and 56x faster warm. Per package, cold ranged from 1.6x (go) to 20x (ca-certificates) and warm from 18x (go) to 252x (ca-certificates). 24 of the 100 packages installed 100x faster or more warm, which is what the asterisk on the tagline refers to. Cold installs are bound by the link. The same run on a ~69 Mbit/s connection (results/2026-10-07) came out at 3.3x cold and 69x warm. Big bottles like go and llvm spend nearly all of their cold time downloading, so both tools land close together there. To reproduce, run just bench --full results/ on a machine with nothing installed in Homebrew. It resets zerobrew, uninstalls everything it installed in Homebrew, and writes a table to results/benchmark.md. A smaller version runs in CI: the parity workflow installs a fixed set of formulae with both tools on the same runner and compares the resulting prefixes byte for byte, and the timing workflow times those formulae plus node and python@3.14, cold and warm, with both tools and with the last zerobrew release. The nightly timing run fails if zerobrew is less than 1.5x faster than Homebrew cold or 3x warm on any of them, or more than 20% slower than the last release overall. A note on how we are achieving these speeds WRT Homebrew, I want it to be clear that both brew and zerobrew install the same bottles from Homebrew's build farm. The difference is what happens after the download: Homebrew runs Ruby to evaluate the formula, unpacks, rewrites paths with install_name_tool, and re-signs each binary one at a time, while zerobrew does the relocation in-process and links from a content-addressed store, so it pays for the download once and almost nothing after. I want it to be clear that we are basically nothing without Homebrew's bottle build farm. Every package zerobrew installs is one they built, tested and published. We don't compile anything, we don't maintain formulae, and none of these numbers exist without that work. The speed comes from how the artifacts are installed, not from what's in them. This is a good read, if you're interested in what zerobrew is and isn't: Standing on the shoulders of Homebrew by Andrew Nesbitt. It makes the point better than I can. nanobrew: nanobrew’s published numbers time a “warm install” of a package that is already installed, which is an early exit, not an install, and compare against zerobrew 0.1.0. Every number above is a real install from an uninstalled state, with the script and the full log in this repo, so you can run it yourself. Relationship with Homebrew zerobrew is more of a performance-optimized client for the Homebrew ecosystem. We rely on: Homebrew's formula definitions (homebrew-core) Homebrew's pre-built bottles when available Homebrew's package metadata and infrastructure Our innovations focus on: Content-addressable storage for deduplication APFS clonefiles for zero-overhead copying Source build fallback using Homebrew's Ruby DSL zerobrew is experimental. We recommend running it alongside Homebrew rather than as a replacement, and do not recommend purging homebrew and replacing it with zerobrew unless you are absolutely sure about the implications of doing so. Project status Status: Experimental, but quite useful. I (@cachebag) daily drive it myself. Feedback: If you hit incompatibilities, please open an issue or PR. License: Dual-licensed under Apache 2.0 OR MIT, at your choice.