Skip to content

A drop-in, 5-20x faster, experimental Homebrew alternative

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE.md
MIT
LICENSE-MIT.md
Notifications You must be signed in to change notification settings

lucasgelfond/zerobrew

zerobrew banner

Zerobrew brings uv-style architecture to Homebrew packages on macOS and Linux.

Lint Test Release Discord License: MIT License: Apache 2.0

Install

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

After install, run the export command it prints (or restart your terminal).

Demo

zerobrew demo

Quick start

zb install jq                   # install one package
zb install wget git             # install multiple
zb install --file Brewfile      # install from a manifest
zb bundle                       # shorthand for ./Brewfile
zb uninstall jq                 # uninstall one package
zb reset                        # uninstall everything
zb gc                           # garbage collect unused store entries
zbx jq --version                # run without linking

Performance snapshot

Package Homebrew ZB (cold) ZB (warm) Cold Speedup Warm Speedup
Overall (top 100) 452s 226s 59s 2.0x 7.6x
ffmpeg 3034ms 3481ms 688ms 0.9x 4.4x
libsodium 2353ms 392ms 130ms 6.0x 18.1x
sqlite 2876ms 625ms 159ms 4.6x 18.1x
tesseract 18950ms 5536ms 643ms 3.4x 29.5x

Project status

  • Status: Experimental, but already useful for many common Homebrew formulas.
  • Feedback: If you hit incompatibilities, please open an issue or PR.
  • License: Dual-licensed under Apache 2.0 OR MIT, at your choice.

About

A drop-in, 5-20x faster, experimental Homebrew alternative

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE.md
MIT
LICENSE-MIT.md

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published