hn.today

A 100x faster* alternative to homebrew

github.com88 points70 comments
Screenshot of A 100x faster* alternative to homebrew

ZeroBrew is a drop-in alternative package manager for macOS and Linux that reimplements Homebrew-style package operations with a "uv-style" architecture aiming to dramatically reduce install and upgrade times. It provides a familiar CLI (zb install, zb upgrade, zb bundle, zb uninstall, zbx to run without linking), installer scripts and a Homebrew tap, and is published under open-source licenses with an active repository (7.6k stars, 181 forks). The project emphasizes fast local package delivery via a different store/linking model and includes convenience commands for dumping and restoring Brewfiles, garbage collection, and shell completion installation.

Benchmarks measured on a MacBook Pro (M3 Pro, macOS 26.6.2) with zerobrew 0.3.5 vs Homebrew 7.0.8 show large speedups: across 100 packages total install time fell from ~776s to ~117s cold (≈6.6×) and from ~637s to ~9s warm (≈68×). Medians reported were ~5.3× cold and ~56× warm; individual packages show wide variation - node warm 121×, [email protected] warm ~69×, ca-certificates warm ~252× - and 24/100 packages installed ≥100× faster warm. Results specify definitions for cold/warm runs, note that cold installs are limited by download/link times (big bottles like go and llvm show smaller cold gains), and demonstrate sensitivity to network bandwidth.

Read on github.com70 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Programming

Clojure in the Age of Language Models

Clojure in the Age of Language Models

Clojure's high-level, data-centric, and declarative approach makes it well-suited for working with language models, as it allows for rapid iteration and live code updates without restarting. Its emphasis on immutability and interactive development streamlines testing and debugging in large codebases, facilitating more efficient system evolution. (yogthos.net)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.