zerobrewhq/zerobrewPublic

An up to 10x faster Homebrew client

AI summary: An experimental, dramatically faster alternative architecture for Homebrew packages on macOS and Linux.

Stars
8.3K
+4 today
Forks
201
Watchers
14
Open issues
35
Open PRs
4
Contributors
~44
Commits
562
Branches
35

RustApache-2.0Created Jan 19, 2026Last push 15d agoLatest release v0.4.2+7 stars this week+65 this month

Quick answers

What is zerobrew?
An experimental, dramatically faster alternative architecture for Homebrew packages on macOS and Linux.
What does zerobrew do?
Zerobrew is an experimental package manager that brings a high-performance, uv-style architecture to the massive ecosystem of Homebrew packages across macOS and Linux. Built in Rust, it aims to be 5-20x faster than traditional Homebrew by fundamentally rethinking how packages are resolved, downloaded, and linked on the system. The project leverages advanced techniques like content-addressable storage for deduplication and APFS clonefiles for zero-overhead copying. It is designed to act as a seamless, high-speed client that interacts directly with existing Homebrew formulas and bottles, requiring no ecosystem rewrites. It serves as a drop-in solution designed to eliminate the long wait times traditionally associated with bootstrapping or updating developer environments.
Who is zerobrew for?
Zerobrew is built for software developers, system administrators, and DevOps engineers frustrated by the speed of traditional package managers who want a hyper-fast alternative for macOS or Linux. Users are expected to have a basic understanding of the relevant underlying technologies.
How do I get started with zerobrew?
curl -fsSL https://zerobrew.rs/install | bash
How popular is zerobrew on GitHub?
zerobrewhq/zerobrew has 8,273 stars and 201 forks on GitHub, and gained 7 stars in the last 7 days.
What license does zerobrew use?
zerobrewhq/zerobrew is released under the Apache-2.0 license.

Star history

since Jul 29, 2026
02.5K5K7.5KJul 2026Sep 2026Oct 2026Nov 2026
8.3K stars as of Nov 20, 2026. Measured daily since Jul 29, 2026; GitHub no longer exposes earlier star timestamps.

Update history

6 recorded
  • Oct 30, 2026New release v0.4.2 (previously v0.4.1).
  • Oct 24, 2026Description changed from "An up to 5x faster Homebrew client" to "An up to 10x faster Homebrew client".
  • Oct 18, 2026New release v0.4.1 (previously v0.3.5).
  • Oct 13, 2026Description changed from "An up to 6.6x faster Homebrew client" to "An up to 5x faster Homebrew client".
  • Oct 10, 2026Description changed from "A 5-20x faster experimental Homebrew alternative" to "An up to 6.6x faster Homebrew client".
  • Oct 6, 2026New release v0.3.5 (previously v0.3.2).

Contribution activity

commits per day, last 52 weeks
NovDecJanFebMarAprMayJunJulAugSepOctNovMonWedFri2025-11-16: 0 commits2025-11-17: 0 commits2025-11-18: 0 commits2025-11-19: 0 commits2025-11-20: 0 commits2025-11-21: 0 commits2025-11-22: 0 commits2025-11-23: 0 commits2025-11-24: 0 commits2025-11-25: 0 commits2025-11-26: 0 commits2025-11-27: 0 commits2025-11-28: 0 commits2025-11-29: 0 commits2025-11-30: 0 commits2025-12-01: 0 commits2025-12-02: 0 commits2025-12-03: 0 commits2025-12-04: 0 commits2025-12-05: 0 commits2025-12-06: 0 commits2025-12-07: 0 commits2025-12-08: 0 commits2025-12-09: 0 commits2025-12-10: 0 commits2025-12-11: 0 commits2025-12-12: 0 commits2025-12-13: 0 commits2025-12-14: 0 commits2025-12-15: 0 commits2025-12-16: 0 commits2025-12-17: 0 commits2025-12-18: 0 commits2025-12-19: 0 commits2025-12-20: 0 commits2025-12-21: 0 commits2025-12-22: 0 commits2025-12-23: 0 commits2025-12-24: 0 commits2025-12-25: 0 commits2025-12-26: 0 commits2025-12-27: 0 commits2025-12-28: 0 commits2025-12-29: 0 commits2025-12-30: 0 commits2025-12-31: 0 commits2026-01-01: 0 commits2026-01-02: 0 commits2026-01-03: 0 commits2026-01-04: 0 commits2026-01-05: 0 commits2026-01-06: 0 commits2026-01-07: 0 commits2026-01-08: 0 commits2026-01-09: 0 commits2026-01-10: 0 commits2026-01-11: 0 commits2026-01-12: 0 commits2026-01-13: 0 commits2026-01-14: 0 commits2026-01-15: 0 commits2026-01-16: 0 commits2026-01-17: 0 commits2026-01-18: 0 commits2026-01-19: 6 commits2026-01-20: 0 commits2026-01-21: 0 commits2026-01-22: 0 commits2026-01-23: 0 commits2026-01-24: 0 commits2026-01-25: 31 commits2026-01-26: 10 commits2026-01-27: 15 commits2026-01-28: 9 commits2026-01-29: 15 commits2026-01-30: 9 commits2026-01-31: 21 commits2026-02-01: 8 commits2026-02-02: 9 commits2026-02-03: 0 commits2026-02-04: 16 commits2026-02-05: 3 commits2026-02-06: 7 commits2026-02-07: 12 commits2026-02-08: 20 commits2026-02-09: 0 commits2026-02-10: 5 commits2026-02-11: 14 commits2026-02-12: 23 commits2026-02-13: 15 commits2026-02-14: 0 commits2026-02-15: 1 commit2026-02-16: 1 commit2026-02-17: 1 commit2026-02-18: 4 commits2026-02-19: 0 commits2026-02-20: 0 commits2026-02-21: 0 commits2026-02-22: 5 commits2026-02-23: 0 commits2026-02-24: 0 commits2026-02-25: 3 commits2026-02-26: 6 commits2026-02-27: 0 commits2026-02-28: 0 commits2026-03-01: 0 commits2026-03-02: 2 commits2026-03-03: 0 commits2026-03-04: 3 commits2026-03-05: 2 commits2026-03-06: 4 commits2026-03-07: 4 commits2026-03-08: 1 commit2026-03-09: 0 commits2026-03-10: 4 commits2026-03-11: 12 commits2026-03-12: 4 commits2026-03-13: 0 commits2026-03-14: 6 commits2026-03-15: 6 commits2026-03-16: 0 commits2026-03-17: 3 commits2026-03-18: 1 commit2026-03-19: 0 commits2026-03-20: 1 commit2026-03-21: 2 commits2026-03-22: 2 commits2026-03-23: 1 commit2026-03-24: 1 commit2026-03-25: 0 commits2026-03-26: 0 commits2026-03-27: 0 commits2026-03-28: 0 commits2026-03-29: 0 commits2026-03-30: 0 commits2026-03-31: 2 commits2026-04-01: 0 commits2026-04-02: 1 commit2026-04-03: 0 commits2026-04-04: 0 commits2026-04-05: 0 commits2026-04-06: 0 commits2026-04-07: 0 commits2026-04-08: 0 commits2026-04-09: 0 commits2026-04-10: 0 commits2026-04-11: 0 commits2026-04-12: 0 commits2026-04-13: 0 commits2026-04-14: 0 commits2026-04-15: 0 commits2026-04-16: 0 commits2026-04-17: 0 commits2026-04-18: 0 commits2026-04-19: 0 commits2026-04-20: 0 commits2026-04-21: 0 commits2026-04-22: 0 commits2026-04-23: 0 commits2026-04-24: 0 commits2026-04-25: 0 commits2026-04-26: 0 commits2026-04-27: 0 commits2026-04-28: 0 commits2026-04-29: 0 commits2026-04-30: 0 commits2026-05-01: 0 commits2026-05-02: 0 commits2026-05-03: 0 commits2026-05-04: 0 commits2026-05-05: 2 commits2026-05-06: 0 commits2026-05-07: 0 commits2026-05-08: 0 commits2026-05-09: 0 commits2026-05-10: 0 commits2026-05-11: 0 commits2026-05-12: 0 commits2026-05-13: 0 commits2026-05-14: 0 commits2026-05-15: 0 commits2026-05-16: 0 commits2026-05-17: 0 commits2026-05-18: 0 commits2026-05-19: 0 commits2026-05-20: 0 commits2026-05-21: 0 commits2026-05-22: 2 commits2026-05-23: 2 commits2026-05-24: 0 commits2026-05-25: 0 commits2026-05-26: 1 commit2026-05-27: 6 commits2026-05-28: 13 commits2026-05-29: 2 commits2026-05-30: 12 commits2026-05-31: 0 commits2026-06-01: 0 commits2026-06-02: 0 commits2026-06-03: 0 commits2026-06-04: 0 commits2026-06-05: 0 commits2026-06-06: 0 commits2026-06-07: 0 commits2026-06-08: 0 commits2026-06-09: 0 commits2026-06-10: 0 commits2026-06-11: 2 commits2026-06-12: 0 commits2026-06-13: 0 commits2026-06-14: 0 commits2026-06-15: 0 commits2026-06-16: 0 commits2026-06-17: 0 commits2026-06-18: 0 commits2026-06-19: 0 commits2026-06-20: 0 commits2026-06-21: 0 commits2026-06-22: 0 commits2026-06-23: 0 commits2026-06-24: 0 commits2026-06-25: 0 commits2026-06-26: 0 commits2026-06-27: 0 commits2026-06-28: 0 commits2026-06-29: 0 commits2026-06-30: 0 commits2026-07-01: 0 commits2026-07-02: 0 commits2026-07-03: 0 commits2026-07-04: 0 commits2026-07-05: 0 commits2026-07-06: 0 commits2026-07-07: 0 commits2026-07-08: 0 commits2026-07-09: 0 commits2026-07-10: 0 commits2026-07-11: 0 commits2026-07-12: 0 commits2026-07-13: 0 commits2026-07-14: 0 commits2026-07-15: 0 commits2026-07-16: 0 commits2026-07-17: 0 commits2026-07-18: 0 commits2026-07-19: 0 commits2026-07-20: 0 commits2026-07-21: 0 commits2026-07-22: 0 commits2026-07-23: 0 commits2026-07-24: 3 commits2026-07-25: 0 commits2026-07-26: 0 commits2026-07-27: 0 commits2026-07-28: 0 commits2026-07-29: 0 commits2026-07-30: 0 commits2026-07-31: 0 commits2026-08-01: 0 commits2026-08-02: 0 commits2026-08-03: 0 commits2026-08-04: 0 commits2026-08-05: 0 commits2026-08-06: 0 commits2026-08-07: 0 commits2026-08-08: 0 commits2026-08-09: 0 commits2026-08-10: 0 commits2026-08-11: 0 commits2026-08-12: 0 commits2026-08-13: 0 commits2026-08-14: 0 commits2026-08-15: 0 commits2026-08-16: 0 commits2026-08-17: 0 commits2026-08-18: 0 commits2026-08-19: 0 commits2026-08-20: 0 commits2026-08-21: 0 commits2026-08-22: 0 commits2026-08-23: 0 commits2026-08-24: 0 commits2026-08-25: 0 commits2026-08-26: 0 commits2026-08-27: 0 commits2026-08-28: 0 commits2026-08-29: 0 commits2026-08-30: 0 commits2026-08-31: 0 commits2026-09-01: 3 commits2026-09-02: 1 commit2026-09-03: 0 commits2026-09-04: 0 commits2026-09-05: 0 commits2026-09-06: 0 commits2026-09-07: 0 commits2026-09-08: 0 commits2026-09-09: 0 commits2026-09-10: 0 commits2026-09-11: 0 commits2026-09-12: 0 commits2026-09-13: 0 commits2026-09-14: 0 commits2026-09-15: 0 commits2026-09-16: 0 commits2026-09-17: 0 commits2026-09-18: 1 commit2026-09-19: 0 commits2026-09-20: 0 commits2026-09-21: 0 commits2026-09-22: 0 commits2026-09-23: 0 commits2026-09-24: 0 commits2026-09-25: 0 commits2026-09-26: 0 commits2026-09-27: 0 commits2026-09-28: 0 commits2026-09-29: 4 commits2026-09-30: 26 commits2026-10-01: 0 commits2026-10-02: 0 commits2026-10-03: 0 commits2026-10-04: 0 commits2026-10-05: 13 commits2026-10-06: 18 commits2026-10-07: 19 commits2026-10-08: 2 commits2026-10-09: 0 commits2026-10-10: 0 commits2026-10-11: 11 commits2026-10-12: 6 commits2026-10-13: 15 commits2026-10-14: 2 commits2026-10-15: 22 commits2026-10-16: 0 commits2026-10-17: 1 commit2026-10-18: 0 commits2026-10-19: 0 commits2026-10-20: 0 commits2026-10-21: 10 commits2026-10-22: 0 commits2026-10-23: 2 commits2026-10-24: 0 commits2026-10-25: 1 commit2026-10-26: 2 commits2026-10-27: 3 commits2026-10-28: 0 commits2026-10-29: 0 commits2026-10-30: 2 commits2026-10-31: 0 commits2026-11-01: 0 commits2026-11-02: 0 commits2026-11-03: 2 commits2026-11-04: 0 commits2026-11-05: 2 commits2026-11-06: 0 commits2026-11-07: 0 commits2026-11-08: 0 commits2026-11-09: 0 commits2026-11-10: 0 commits2026-11-11: 0 commits2026-11-12: 0 commits2026-11-13: 0 commits2026-11-14: 0 commits
544 commits in the last yearLessMore

Signals and awards

derived from tracked data
  • Permissive license

    Apache-2.0

  • Continuous integration

    Automated checks passing

  • Repeat trending

    4 trending appearances

What zerobrew does

Zerobrew is an experimental package manager that brings a high-performance, uv-style architecture to the massive ecosystem of Homebrew packages across macOS and Linux. Built in Rust, it aims to be 5-20x faster than traditional Homebrew by fundamentally rethinking how packages are resolved, downloaded, and linked on the system. The project leverages advanced techniques like content-addressable storage for deduplication and APFS clonefiles for zero-overhead copying. It is designed to act as a seamless, high-speed client that interacts directly with existing Homebrew formulas and bottles, requiring no ecosystem rewrites. It serves as a drop-in solution designed to eliminate the long wait times traditionally associated with bootstrapping or updating developer environments.

Zerobrew is built for software developers, system administrators, and DevOps engineers frustrated by the speed of traditional package managers who want a hyper-fast alternative for macOS or Linux. Users are expected to have a basic understanding of the relevant underlying technologies.

  • High-performance architecture: Implements a uv-style resolution and installation engine to achieve speeds 5-20x faster than traditional Homebrew.
  • Zero-overhead linking: Leverages APFS clonefiles and content-addressable storage to instantly copy and link packages without duplicating data.
  • Rust-based implementation: Built entirely in Rust to ensure memory safety, rapid execution, and highly parallelized network and disk operations.
  • Homebrew ecosystem compatibility: Designed to seamlessly utilize existing Homebrew formulas and pre-built bottles without requiring ecosystem changes.
  • Cross-platform support: Provides rapid package management capabilities for both macOS and Linux environments.

Where teams use it

Rapid environment bootstrapping

Drastically reducing the time it takes developers to set up a new machine or provision a fresh continuous integration environment.

Fast package updates

Allowing system administrators to quickly update their daily drivers and CLI tools without waiting through typical Homebrew resolution delays.

CI/CD pipeline optimization

Replacing standard Homebrew commands in automated workflows with Zerobrew to significantly cut down build times and compute costs.

Seamless performance transition

Providing users with massive performance gains while retaining full access to the massive catalog of formulas they already rely on.

Getting started: curl -fsSL https://zerobrew.rs/install | bash

README

main branch

zerobrew

English · 中文

Lint Test Release Discord License: MIT License: Apache 2.0

zerobrew demo

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/tap/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/tap/zerobrew

The cachebag/zerobrew and zerobrewhq/zerobrew taps were moved to zerobrewhq/tap and keep updating; nothing to do.

Quick start

To opt in to a brew compatibility entrypoint:

zb install-alias brew
brew install jq
zb install-alias brew --remove

This creates brew -> zb-brew beside zb; ensure that directory is on PATH. You can also enable it during installation:

curl -fsSL https://zerobrew.rs/install | bash -s -- --brew-compat

Enabling it refuses existing Homebrew or other brew entrypoints on PATH and standard Homebrew locations, and never replaces an existing file. Removing it only deletes zerobrew's own symlink. If zb-brew is missing, reinstall zerobrew.

The entrypoint supports install, uninstall, list, info, outdated, upgrade, doctor, bundle, and update, using the arguments and output supported by zb. cleanup runs zb gc and only removes unreferenced store entries. update refreshes the formula index; it does not update zerobrew itself. Commands such as search, services, and tap, and flags such as --cask and list --formula, are not implemented and fail with a compatibility error. zb migrate requires real Homebrew on PATH and refuses this entrypoint.

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

Automatic initialization (--auto-init or ZEROBREW_AUTO_INIT=true) and zb reset create data directories without changing shell configuration. Run zb init explicitly to configure your shell, or zb init --no-modify-path to leave it unchanged.

Performance snapshot

Package Homebrew (cold) ZB (cold) Cold speedup Homebrew (warm) ZB (warm) Warm speedup
Overall (100 packages) 853s 109s 7.8x 756s 29.9s 25x
[email protected] 17.85s 1.86s 9.6x 17.10s 624ms 27.4x
node 32.46s 2.08s 15.6x 31.18s 889ms 35.1x
tesseract 39.87s 4.37s 9.1x 38.24s 2.86s 13.4x
openjdk 34.14s 6.09s 5.6x 31.67s 2.81s 11.3x
llvm 17.09s 6.09s 2.8x 10.51s 172ms 61.1x

Measured on 2026-10-23 with zerobrew 0.4.2 and Homebrew 7.0.10 on macOS 26.6.2, MacBook Pro (M3 Pro, 18 GB RAM), wired, ~436 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 7.5x faster cold and 62x faster warm. Per package, cold ranged from 1.7x (go) to 27x (certifi) and warm from 4.0x (fontconfig) to 275x (p11-kit). 86 of the 100 packages installed at least 5x faster cold, and 19 installed 100x faster or more warm.
  • Both tools run post-install steps. ca-certificates' step builds the CA bundle from the system keychain, which costs Homebrew about 8 seconds and used to cost zerobrew the same on every package that depends on it, most of the table. Since 0.4.2 zerobrew builds that bundle in process, byte for byte, in well under a second; the run from before that (results/2026-10-12) was 3.6x cold. fontconfig's fc-cache is the same kind of step and is not ported yet (#448), which is what holds fontconfig, harfbuzz, cairo and pango under 10x warm.
  • Cold installs are bound by the link. The same run on a ~80 Mbit/s connection two days earlier (results/2026-10-21) came out at 3.7x cold overall, with go and llvm at the speed of the download, while the median package was still 6.2x. Homebrew's total barely moves with bandwidth; zerobrew's is mostly bandwidth.
  • Warm installs use more disk. After an uninstall brew keeps the bottle, we keep the bottle and the unpacked keg in the store. That is the main tradeoff here.
Full results
Package Homebrew (cold) ZB (cold) Cold speedup Homebrew (warm) ZB (warm) Warm speedup
Overall (100 packages) 852.82s 108.73s 7.84x 755.53s 29.91s 25.26x
ca-certificates 8.35s 361ms 23.13x 7.69s 29ms 265.28x
openssl@3 11.44s 1.15s 9.92x 10.58s 63ms 167.95x
xz 2.43s 391ms 6.22x 1.62s 28ms 57.93x
sqlite 3.10s 450ms 6.90x 2.31s 27ms 85.44x
readline 2.40s 524ms 4.57x 1.62s 26ms 62.23x
icu4c@78 3.00s 871ms 3.44x 1.94s 27ms 71.96x
[email protected] 17.85s 1.86s 9.61x 17.10s 624ms 27.40x
awscli 31.02s 3.05s 10.17x 29.72s 884ms 33.62x
node 32.46s 2.08s 15.58x 31.18s 889ms 35.07x
harfbuzz 25.17s 4.16s 6.05x 23.51s 2.80s 8.40x
ncurses 3.04s 779ms 3.90x 2.28s 48ms 47.54x
gh 2.33s 584ms 3.98x 1.47s 36ms 40.83x
pcre2 2.54s 484ms 5.25x 1.75s 33ms 52.91x
libpng 2.46s 348ms 7.06x 1.69s 27ms 62.41x
zstd 3.93s 431ms 9.13x 3.14s 34ms 92.32x
glib 6.91s 924ms 7.48x 5.89s 98ms 60.09x
lz4 2.41s 311ms 7.75x 1.68s 26ms 64.65x
gettext 4.53s 951ms 4.76x 3.66s 65ms 56.25x
libngtcp2 12.29s 1.50s 8.22x 11.43s 516ms 22.15x
libnghttp3 2.42s 351ms 6.89x 1.67s 26ms 64.04x
pkgconf 2.47s 311ms 7.95x 1.68s 27ms 62.07x
libunistring 2.45s 421ms 5.81x 1.69s 27ms 62.63x
mpdecimal 2.46s 314ms 7.84x 1.67s 26ms 64.27x
brotli 2.48s 375ms 6.61x 1.69s 27ms 62.41x
jpeg-turbo 2.51s 420ms 5.97x 1.71s 28ms 60.96x
xorgproto 2.14s 360ms 5.95x 1.36s 29ms 46.79x
ffmpeg 22.61s 1.73s 13.04x 21.20s 592ms 35.81x
cmake 3.19s 1.02s 3.12x 1.89s 80ms 23.56x
libnghttp2 2.46s 313ms 7.87x 1.67s 26ms 64.04x
go 4.79s 2.77s 1.73x 3.50s 169ms 20.74x
uv 2.37s 606ms 3.91x 1.44s 26ms 55.23x
gmp 2.46s 446ms 5.51x 1.69s 27ms 62.44x
libtiff 8.00s 541ms 14.78x 7.17s 54ms 132.81x
fontconfig 10.75s 3.60s 2.98x 9.79s 2.47s 3.96x
[email protected] 15.95s 1.60s 9.97x 15.26s 189ms 80.74x
git 6.93s 1.17s 5.92x 5.52s 103ms 53.56x
little-cms2 8.76s 546ms 16.05x 8.00s 56ms 142.79x
dav1d 2.48s 330ms 7.52x 1.71s 26ms 65.62x
openexr 11.36s 638ms 17.80x 10.40s 66ms 157.59x
c-ares 2.50s 330ms 7.56x 1.73s 33ms 52.42x
tesseract 39.87s 4.37s 9.13x 38.24s 2.86s 13.38x
p11-kit 10.11s 446ms 22.68x 9.34s 34ms 274.65x
imagemagick 17.23s 3.10s 5.57x 16.23s 84ms 193.27x
zlib 2.42s 307ms 7.87x 1.66s 26ms 63.69x
libx11 6.10s 828ms 7.37x 5.32s 184ms 28.91x
freetype 3.94s 438ms 9.00x 3.20s 32ms 100.03x
protobuf 4.06s 576ms 7.06x 3.30s 62ms 53.19x
gnupg 25.70s 1.07s 23.95x 24.34s 189ms 128.76x
openjph 8.81s 554ms 15.90x 8.00s 56ms 142.82x
libtasn1 2.45s 338ms 7.25x 1.71s 28ms 61.00x
ruby 18.05s 3.84s 4.70x 17.75s 1.34s 13.28x
gnutls 18.21s 978ms 18.62x 16.46s 139ms 118.40x
expat 2.48s 310ms 8.01x 1.67s 27ms 61.93x
libsodium 2.49s 337ms 7.39x 1.71s 27ms 63.44x
simdjson 2.49s 405ms 6.15x 1.69s 26ms 65.08x
gemini-cli 33.61s 2.25s 14.91x 32.56s 917ms 35.50x
libarchive 5.44s 464ms 11.73x 4.74s 37ms 128.08x
pyenv 15.43s 1.69s 9.16x 14.56s 544ms 26.76x
pixman 2.64s 345ms 7.64x 1.71s 27ms 63.33x
curl 19.71s 1.61s 12.20x 18.61s 570ms 32.65x
opus 2.43s 345ms 7.05x 1.69s 26ms 65.12x
unbound 14.67s 1.54s 9.51x 13.73s 554ms 24.79x
cairo 22.24s 4.03s 5.52x 20.97s 2.77s 7.56x
pango 28.60s 4.10s 6.97x 27.39s 2.79s 9.80x
leptonica 10.53s 624ms 16.88x 9.85s 65ms 151.58x
libxcb 5.18s 755ms 6.86x 4.39s 139ms 31.55x
jpeg-xl 15.14s 720ms 21.03x 14.04s 72ms 194.96x
coreutils 13.36s 1.60s 8.37x 12.38s 529ms 23.41x
certifi 9.07s 342ms 26.54x 8.34s 37ms 225.51x
krb5 12.54s 1.50s 8.33x 11.66s 510ms 22.86x
docker 2.25s 533ms 4.21x 1.39s 27ms 51.48x
libheif 12.14s 736ms 16.49x 11.27s 66ms 170.77x
webp 4.68s 432ms 10.84x 3.95s 35ms 112.74x
libxext 6.97s 804ms 8.67x 6.20s 189ms 32.80x
libxau 2.86s 346ms 8.26x 2.15s 32ms 67.31x
gcc 11.91s 2.48s 4.80x 9.94s 72ms 138.01x
bzip2 2.10s 300ms 7.01x 1.31s 26ms 50.54x
libxdmcp 2.89s 349ms 8.28x 2.14s 34ms 63.03x
abseil 3.02s 545ms 5.54x 2.18s 54ms 40.37x
xcbeautify 2.13s 371ms 5.74x 1.35s 27ms 49.93x
libuv 2.50s 340ms 7.34x 1.71s 27ms 63.30x
giflib 2.43s 293ms 8.31x 1.69s 27ms 62.67x
utf8proc 2.46s 313ms 7.88x 1.68s 26ms 64.62x
libxrender 6.94s 798ms 8.69x 6.14s 182ms 33.74x
m4 2.11s 292ms 7.21x 1.31s 26ms 50.42x
graphite2 2.42s 304ms 7.97x 1.68s 26ms 64.77x
openjdk 34.14s 6.09s 5.60x 31.67s 2.81s 11.26x
uvwasi 3.20s 328ms 9.75x 2.45s 29ms 84.52x
libffi 2.47s 329ms 7.50x 1.67s 26ms 64.31x
libdeflate 2.47s 330ms 7.47x 1.68s 26ms 64.73x
llvm 17.09s 6.09s 2.81x 10.51s 172ms 61.10x
aom 3.35s 529ms 6.33x 2.50s 32ms 78.19x
lzo 2.48s 289ms 8.57x 1.69s 27ms 62.74x
libevent 12.35s 1.47s 8.38x 11.50s 507ms 22.69x
libgpg-error 5.26s 861ms 6.11x 4.45s 71ms 62.68x
libidn2 5.28s 765ms 6.90x 4.41s 72ms 61.29x
berkeley-db@5 3.96s 1.44s 2.75x 2.84s 57ms 49.81x
deno 11.83s 1.08s 10.97x 10.80s 59ms 183.03x
libedit 2.46s 329ms 7.47x 1.68s 26ms 64.69x
oniguruma 2.49s 328ms 7.60x 1.68s 26ms 64.62x

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 [email protected], 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. The source build shim and the post-install runner are derived from Homebrew and are covered by its BSD 2-Clause license.
View on GitHub

Recent activity

commits and pull requests

Recent open issues

view all

Releases and announcements

14 total
  1. v0.4.2v0.4.2Oct 21, 20263.3K downloads

    ## What's Changed * feat(zb_io): implement generate_completions_from_executable in the formula shim by @cutiechi in https://github.com/zerobrewhq/zerobrew/pull/468 * Experimental/native ca bundle by @cachebag in https://github.com/zerobrewhq/zerobrew/pull/469 * fix(zb_cli): preserve installer binary directory during init by @RadCod3 in https://github.com/zerobrewhq/zerobrew/pull/474 * fix: port the 2026-10-20 ca-certificates script by @cachebag in https://github.com/zerobrewhq/zerobrew/pull/475 * chore(release): bump 3.4.2 by @cachebag in https://github.com/zerobrewhq/zerobrew/pull/476 ## New Contributors * @RadCod3 made their first contribution in https://github.com/zerobrewhq/zerobrew/pull/474 **Full Changelog**: https://github.com/zerobrewhq/zerobrew/compare/v0.4.1...v0.4.2

  2. v0.4.1v0.4.1Oct 15, 20261.3K downloads

    ## What's Changed * feat: run post-install steps by @cachebag in https://github.com/zerobrewhq/zerobrew/pull/444 * perf: cache the ca-certificates bundle by @cachebag in https://github.com/zerobrewhq/zerobrew/pull/447 * fix(zb_io): skip keg links back into the prefix by @cachebag in https://github.com/zerobrewhq/zerobrew/pull/451 * fix: plain unsupported step reasons by @cachebag in https://github.com/zerobrewhq/zerobrew/pull/453 * feat(zb_cli): add an opt-in brew compatibility entrypoint by @Linuxdazhao in https://github.com/zerobrewhq/zerobrew/pull/455 * fix(zb_io): support `using: :nounzip` sources and reject raw binary downloads clearly by @cutiechi in https://github.com/zerobrewhq/zerobrew/pull/454 * fix: restore CI after object 0.40 bump by @cachebag in https://github.com/zerobrewhq/zerobrew/pull/458 * fix(zb_cli): preserve shell configuration during implicit initialization by @Linuxdazhao in https://github.com/zerobrewhq/zerobrew/pull/456 * fix(zb_io): only patch ELF executables and shared libraries by @cachebag in https://github.com/zerobrewhq/zerobrew/pull/459 * ci: make the timing job faster and fix the nightly by @cachebag in https://github.com/zerobrewhq/zerobrew/pull/4

  3. v0.4.0+devv0.4.0+devOct 12, 2026pre-release19 downloads

    ## What's Changed * feat: run post-install steps by @cachebag in https://github.com/zerobrewhq/zerobrew/pull/444 * perf: cache the ca-certificates bundle by @cachebag in https://github.com/zerobrewhq/zerobrew/pull/447 **Full Changelog**: https://github.com/zerobrewhq/zerobrew/compare/v0.4.0...v0.4.0+dev

  4. v0.4.0v0.4.0Oct 8, 20262.5K downloads

    ## What's Changed * feat(zb_io): leave installed dependencies alone on install by @cachebag in https://github.com/zerobrewhq/zerobrew/pull/419 * chore: point everything at the zerobrewhq organisation by @cachebag in https://github.com/zerobrewhq/zerobrew/pull/420 * test: compare installed prefixes against homebrew by @cachebag in https://github.com/zerobrewhq/zerobrew/pull/424 * fix: link directories the way homebrew does by @cachebag in https://github.com/zerobrewhq/zerobrew/pull/425 * ci: time cold installs against homebrew and the last release by @cachebag in https://github.com/zerobrewhq/zerobrew/pull/426 * perf: relocate mach-o in-process by @cachebag in https://github.com/zerobrewhq/zerobrew/pull/427 * ci: comment the install timings on pull requests by @cachebag in https://github.com/zerobrewhq/zerobrew/pull/428 * perf: relocate once in the store by @cachebag in https://github.com/zerobrewhq/zerobrew/pull/429 * perf: reuse download connections by @cachebag in https://github.com/zerobrewhq/zerobrew/pull/430 * perf: index the formula api by @cachebag in https://github.com/zerobrewhq/zerobrew/pull/431 * perf: unpack bottles while downloading by @cachebag in https://github.com/z

  5. v0.3.5v0.3.5Sep 30, 20261.4K downloads

    **NOTE:** - Users who already have alias records should run `zb doctor --repair` once - `sbin` gets added to `PATH` when you rerun the installer or `zb init`. ## What's Changed * fix(zb_io): libexec linking, alias installs and doctor repair by @cachebag in https://github.com/lucasgelfond/zerobrew/pull/417 **Full Changelog**: https://github.com/lucasgelfond/zerobrew/compare/v0.3.4...v0.3.5

Code frequency

additions and deletions
+20.4K-20.4KWeek of 2026-01-18: +1,668 linesWeek of 2026-01-18: -13 linesWeek of 2026-01-25: +20,380 linesWeek of 2026-01-25: -8,120 linesWeek of 2026-02-01: +9,986 linesWeek of 2026-02-01: -7,844 linesWeek of 2026-02-08: +10,010 linesWeek of 2026-02-08: -1,913 linesWeek of 2026-02-15: +846 linesWeek of 2026-02-15: -29 linesWeek of 2026-02-22: +2,313 linesWeek of 2026-02-22: -592 linesWeek of 2026-03-01: +1,156 linesWeek of 2026-03-01: -185 linesWeek of 2026-03-08: +2,403 linesWeek of 2026-03-08: -1,239 linesWeek of 2026-03-15: +6,458 linesWeek of 2026-03-15: -5,544 linesWeek of 2026-03-22: +408 linesWeek of 2026-03-22: -191 linesWeek of 2026-03-29: +190 linesWeek of 2026-03-29: -22 linesWeek of 2026-04-05: +0 linesWeek of 2026-04-05: -0 linesWeek of 2026-04-12: +0 linesWeek of 2026-04-12: -0 linesWeek of 2026-04-19: +0 linesWeek of 2026-04-19: -0 linesWeek of 2026-04-26: +0 linesWeek of 2026-04-26: -0 linesWeek of 2026-05-03: +8 linesWeek of 2026-05-03: -8 linesWeek of 2026-05-10: +0 linesWeek of 2026-05-10: -0 linesWeek of 2026-05-17: +98 linesWeek of 2026-05-17: -55 linesWeek of 2026-05-24: +2,751 linesWeek of 2026-05-24: -945 linesWeek of 2026-05-31: +0 linesWeek of 2026-05-31: -0 linesWeek of 2026-06-07: +247 linesWeek of 2026-06-07: -5 linesWeek of 2026-06-14: +0 linesWeek of 2026-06-14: -0 linesWeek of 2026-06-21: +0 linesWeek of 2026-06-21: -0 linesWeek of 2026-06-28: +0 linesWeek of 2026-06-28: -0 linesWeek of 2026-07-05: +0 linesWeek of 2026-07-05: -0 linesWeek of 2026-07-12: +0 linesWeek of 2026-07-12: -0 linesWeek of 2026-07-19: +389 linesWeek of 2026-07-19: -68 linesWeek of 2026-07-26: +0 linesWeek of 2026-07-26: -0 linesWeek of 2026-08-02: +0 linesWeek of 2026-08-02: -0 linesWeek of 2026-08-09: +0 linesWeek of 2026-08-09: -0 linesWeek of 2026-08-16: +0 linesWeek of 2026-08-16: -0 linesWeek of 2026-08-23: +0 linesWeek of 2026-08-23: -0 linesWeek of 2026-08-30: +57 linesWeek of 2026-08-30: -19 linesWeek of 2026-09-06: +0 linesWeek of 2026-09-06: -0 linesWeek of 2026-09-13: +10 linesWeek of 2026-09-13: -9 linesWeek of 2026-09-20: +0 linesWeek of 2026-09-20: -0 linesWeek of 2026-09-27: +2,840 linesWeek of 2026-09-27: -1,132 linesWeek of 2026-10-04: +9,465 linesWeek of 2026-10-04: -3,822 linesWeek of 2026-10-11: +9,538 linesWeek of 2026-10-11: -1,575 linesWeek of 2026-10-18: +3,506 linesWeek of 2026-10-18: -412 linesWeek of 2026-10-25: +813 linesWeek of 2026-10-25: -70 linesWeek of 2026-11-01: +231 linesWeek of 2026-11-01: -31 linesWeek of 2026-11-08: +0 linesWeek of 2026-11-08: -0 linesJan 18, 2026Nov 8, 2026
+85.8K lines added, -33.8K removed over the last year.

Commits per week

last 52 weeks
1100Week of 2025-11-16: 0 commitsWeek of 2025-11-23: 0 commitsWeek of 2025-11-30: 0 commitsWeek of 2025-12-07: 0 commitsWeek of 2025-12-14: 0 commitsWeek of 2025-12-21: 0 commitsWeek of 2025-12-28: 0 commitsWeek of 2026-01-04: 0 commitsWeek of 2026-01-11: 0 commitsWeek of 2026-01-18: 6 commitsWeek of 2026-01-25: 110 commitsWeek of 2026-02-01: 55 commitsWeek of 2026-02-08: 77 commitsWeek of 2026-02-15: 7 commitsWeek of 2026-02-22: 14 commitsWeek of 2026-03-01: 15 commitsWeek of 2026-03-08: 27 commitsWeek of 2026-03-15: 13 commitsWeek of 2026-03-22: 4 commitsWeek of 2026-03-29: 3 commitsWeek of 2026-04-05: 0 commitsWeek of 2026-04-12: 0 commitsWeek of 2026-04-19: 0 commitsWeek of 2026-04-26: 0 commitsWeek of 2026-05-03: 2 commitsWeek of 2026-05-10: 0 commitsWeek of 2026-05-17: 4 commitsWeek of 2026-05-24: 34 commitsWeek of 2026-05-31: 0 commitsWeek of 2026-06-07: 2 commitsWeek of 2026-06-14: 0 commitsWeek of 2026-06-21: 0 commitsWeek of 2026-06-28: 0 commitsWeek of 2026-07-05: 0 commitsWeek of 2026-07-12: 0 commitsWeek of 2026-07-19: 3 commitsWeek of 2026-07-26: 0 commitsWeek of 2026-08-02: 0 commitsWeek of 2026-08-09: 0 commitsWeek of 2026-08-16: 0 commitsWeek of 2026-08-23: 0 commitsWeek of 2026-08-30: 4 commitsWeek of 2026-09-06: 0 commitsWeek of 2026-09-13: 1 commitsWeek of 2026-09-20: 0 commitsWeek of 2026-09-27: 30 commitsWeek of 2026-10-04: 52 commitsWeek of 2026-10-11: 57 commitsWeek of 2026-10-18: 12 commitsWeek of 2026-10-25: 8 commitsWeek of 2026-11-01: 4 commitsWeek of 2026-11-08: 0 commitsNov 16, 2025Nov 8, 2026
544 commits in the last 52 weeks.

When work happens

weekday and hour
SunMonTueWedThuFriSat036912151821Sun 0:00 — 1 commitsSun 1:00 — 4 commitsSun 2:00 — 0 commitsSun 3:00 — 2 commitsSun 4:00 — 0 commitsSun 5:00 — 0 commitsSun 6:00 — 0 commitsSun 7:00 — 0 commitsSun 8:00 — 0 commitsSun 9:00 — 2 commitsSun 10:00 — 0 commitsSun 11:00 — 4 commitsSun 12:00 — 11 commitsSun 13:00 — 7 commitsSun 14:00 — 4 commitsSun 15:00 — 4 commitsSun 16:00 — 5 commitsSun 17:00 — 8 commitsSun 18:00 — 9 commitsSun 19:00 — 8 commitsSun 20:00 — 5 commitsSun 21:00 — 2 commitsSun 22:00 — 0 commitsSun 23:00 — 10 commitsMon 0:00 — 3 commitsMon 1:00 — 0 commitsMon 2:00 — 0 commitsMon 3:00 — 1 commitsMon 4:00 — 0 commitsMon 5:00 — 0 commitsMon 6:00 — 0 commitsMon 7:00 — 3 commitsMon 8:00 — 4 commitsMon 9:00 — 0 commitsMon 10:00 — 5 commitsMon 11:00 — 0 commitsMon 12:00 — 0 commitsMon 13:00 — 1 commitsMon 14:00 — 0 commitsMon 15:00 — 2 commitsMon 16:00 — 5 commitsMon 17:00 — 4 commitsMon 18:00 — 0 commitsMon 19:00 — 0 commitsMon 20:00 — 6 commitsMon 21:00 — 5 commitsMon 22:00 — 9 commitsMon 23:00 — 3 commitsTue 0:00 — 0 commitsTue 1:00 — 0 commitsTue 2:00 — 0 commitsTue 3:00 — 1 commitsTue 4:00 — 0 commitsTue 5:00 — 0 commitsTue 6:00 — 0 commitsTue 7:00 — 0 commitsTue 8:00 — 1 commitsTue 9:00 — 4 commitsTue 10:00 — 7 commitsTue 11:00 — 3 commitsTue 12:00 — 7 commitsTue 13:00 — 8 commitsTue 14:00 — 3 commitsTue 15:00 — 4 commitsTue 16:00 — 2 commitsTue 17:00 — 3 commitsTue 18:00 — 3 commitsTue 19:00 — 4 commitsTue 20:00 — 2 commitsTue 21:00 — 5 commitsTue 22:00 — 15 commitsTue 23:00 — 8 commitsWed 0:00 — 6 commitsWed 1:00 — 1 commitsWed 2:00 — 3 commitsWed 3:00 — 0 commitsWed 4:00 — 0 commitsWed 5:00 — 0 commitsWed 6:00 — 0 commitsWed 7:00 — 0 commitsWed 8:00 — 2 commitsWed 9:00 — 2 commitsWed 10:00 — 24 commitsWed 11:00 — 13 commitsWed 12:00 — 6 commitsWed 13:00 — 7 commitsWed 14:00 — 8 commitsWed 15:00 — 5 commitsWed 16:00 — 3 commitsWed 17:00 — 4 commitsWed 18:00 — 13 commitsWed 19:00 — 0 commitsWed 20:00 — 1 commitsWed 21:00 — 2 commitsWed 22:00 — 21 commitsWed 23:00 — 5 commitsThu 0:00 — 1 commitsThu 1:00 — 4 commitsThu 2:00 — 0 commitsThu 3:00 — 0 commitsThu 4:00 — 0 commitsThu 5:00 — 0 commitsThu 6:00 — 0 commitsThu 7:00 — 0 commitsThu 8:00 — 2 commitsThu 9:00 — 3 commitsThu 10:00 — 8 commitsThu 11:00 — 22 commitsThu 12:00 — 0 commitsThu 13:00 — 7 commitsThu 14:00 — 4 commitsThu 15:00 — 2 commitsThu 16:00 — 2 commitsThu 17:00 — 1 commitsThu 18:00 — 3 commitsThu 19:00 — 0 commitsThu 20:00 — 12 commitsThu 21:00 — 2 commitsThu 22:00 — 9 commitsThu 23:00 — 13 commitsFri 0:00 — 9 commitsFri 1:00 — 3 commitsFri 2:00 — 0 commitsFri 3:00 — 1 commitsFri 4:00 — 0 commitsFri 5:00 — 0 commitsFri 6:00 — 0 commitsFri 7:00 — 0 commitsFri 8:00 — 0 commitsFri 9:00 — 0 commitsFri 10:00 — 5 commitsFri 11:00 — 1 commitsFri 12:00 — 4 commitsFri 13:00 — 6 commitsFri 14:00 — 5 commitsFri 15:00 — 2 commitsFri 16:00 — 0 commitsFri 17:00 — 3 commitsFri 18:00 — 1 commitsFri 19:00 — 2 commitsFri 20:00 — 3 commitsFri 21:00 — 3 commitsFri 22:00 — 0 commitsFri 23:00 — 0 commitsSat 0:00 — 9 commitsSat 1:00 — 2 commitsSat 2:00 — 0 commitsSat 3:00 — 0 commitsSat 4:00 — 0 commitsSat 5:00 — 0 commitsSat 6:00 — 0 commitsSat 7:00 — 0 commitsSat 8:00 — 0 commitsSat 9:00 — 1 commitsSat 10:00 — 7 commitsSat 11:00 — 2 commitsSat 12:00 — 0 commitsSat 13:00 — 2 commitsSat 14:00 — 6 commitsSat 15:00 — 0 commitsSat 16:00 — 2 commitsSat 17:00 — 0 commitsSat 18:00 — 2 commitsSat 19:00 — 3 commitsSat 20:00 — 3 commitsSat 21:00 — 0 commitsSat 22:00 — 5 commitsSat 23:00 — 16 commits
Commit volume by weekday and hour (UTC). Larger dots mean more commits.
DateListRankStars gained
Jan 29, 2026daily#4+332
Jan 28, 2026daily#8+272
Jan 27, 2026daily#9+237
Jan 26, 2026daily#6+361
  • ultraworkers/claw-code

    An agent-managed museum exhibit, built in Rust with Gajae-Code / LazyCodex — developed and maintained with no human intervention.

    194.8K stars · Rust

  • farion1231/cc-switch

    A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode,DeepSeek Harness and more. Only official website: ccswitch.io

    156K stars · Rust

  • openai/codex

    Lightweight coding agent that runs in your terminal

    136K stars · Rust

  • rust-lang/rust

    Empowering everyone to build reliable and efficient software.

    122.3K stars · Rust

  • pbakaus/impeccable

    The design vocabulary for your coding agent. Steer with polish and bolder, review with critique and audit, catch AI slop before it ships.

    114.1K stars · Rust

  • denoland/deno

    A modern runtime for JavaScript and TypeScript.

    109.1K stars · Rust