Esta página se muestra en inglés. Una traducción al español está en curso.
ConfigsJul 1, 2026·3 min de lectura

Zerobrew — 5-20x Faster Experimental Homebrew Alternative in Rust

A Rust-based package manager for macOS that aims to be 5-20x faster than Homebrew by rethinking dependency resolution and installation from scratch.

Listo para agents

Instalación con revisión previa

Este activo requiere revisión. El prompt copiado pide dry-run, muestra escrituras y continúa solo tras confirmación.

Needs Confirmation · 64/100Política: confirmar
Superficie agent
Cualquier agent MCP/CLI
Tipo
Skill
Instalación
Single
Confianza
Confianza: Established
Entrada
Zerobrew
Comando con revisión previa
npx -y tokrepo@latest install 1dce6589-758b-11f1-9bc6-00163e2b0d79 --target codex

Primero dry-run, confirma las escrituras y luego ejecuta este comando.

Introduction

Zerobrew is an experimental package manager for macOS written in Rust that targets dramatic speed improvements over Homebrew. By rebuilding dependency resolution, formula parsing, and installation from the ground up, it achieves 5-20x faster install times for common developer packages.

What Zerobrew Does

  • Installs macOS developer packages with significantly reduced wall-clock time
  • Resolves dependency graphs using a parallel solver written in Rust
  • Downloads and unpacks bottles (pre-built binaries) concurrently
  • Maintains compatibility with a large subset of Homebrew formulas
  • Provides a familiar CLI interface for developers used to brew commands

Architecture Overview

Zerobrew replaces Homebrew's Ruby-based formula evaluation with a Rust parser that reads formula metadata directly. Dependency resolution uses a SAT-solver-inspired algorithm that runs in parallel. Bottle downloads are pipelined so that unpacking begins while subsequent dependencies are still downloading. The result is near-instant installs for packages with pre-built bottles.

Self-Hosting & Configuration

  • Install via the one-line shell script from the project website
  • Packages are installed to a configurable prefix (default: /opt/zerobrew)
  • Compatible with existing Homebrew taps for formula discovery
  • Environment variables control concurrency, cache location, and mirror selection
  • Uninstall cleanly removes all managed packages and the Zerobrew binary

Key Features

  • 5-20x faster than Homebrew for common install operations
  • Single static Rust binary with no runtime dependencies
  • Parallel dependency resolution and concurrent downloads
  • Compatible with Homebrew bottle infrastructure for pre-built binaries
  • Minimal disk footprint compared to Homebrew's Ruby runtime

Comparison with Similar Tools

  • Homebrew — the standard macOS package manager; Zerobrew is faster but covers fewer formulas
  • MacPorts — builds from source by default; Zerobrew uses pre-built bottles for speed
  • Nix — reproducible builds with a functional model; Zerobrew prioritizes simplicity and speed
  • pkgin — NetBSD package manager ported to macOS; Zerobrew has better macOS integration
  • Mise — manages language runtimes; Zerobrew manages system packages more broadly

FAQ

Q: Can Zerobrew replace Homebrew entirely? A: Not yet. Zerobrew is experimental and supports a subset of Homebrew formulas. Complex formulas with custom build steps may not work.

Q: Does it use Homebrew's bottle CDN? A: Yes. Zerobrew downloads the same pre-built bottles that Homebrew uses, which is why installs are fast.

Q: Will it conflict with an existing Homebrew installation? A: No. Zerobrew installs to a separate prefix and does not modify Homebrew's directories.

Q: Does it work on Linux? A: Currently macOS only. Linux support is under consideration.

Sources

Discusión

Inicia sesión para unirte a la discusión.
Aún no hay comentarios. Sé el primero en compartir tus ideas.

Activos relacionados