29 releases
Uses new Rust 2024
| 0.2.3 | Nov 19, 2025 |
|---|---|
| 0.2.2 | Nov 18, 2025 |
| 0.1.34 | Nov 9, 2025 |
| 0.1.25 | Oct 31, 2025 |
#2368 in Command line utilities
545KB
11K
SLoC
bru
A fast, Homebrew-compatible package manager for macOS
⚠️ Experimental: Production-ready for bottle-based workflows, but under active development.
Drop-in replacement for brew with 8x faster operations. Works with Homebrew's formulae and bottles—no migration needed.
Why bru?
| Operation | Homebrew | bru | Speedup |
|---|---|---|---|
search python |
1.04s | 0.04s | 26x |
info wget |
1.04s | 0.11s | 9.6x |
outdated |
1.63s | 0.78s | 2.1x |
update (8 taps) |
3.2s | 1.9s | 1.7x |
| Startup time | ~100ms | <10ms | 10x |
Same formulae, same ecosystem, dramatically faster.
Installation
Via Homebrew
brew install nijaru/tap/bru
Via Cargo
cargo install kombrucha
Usage
CLI: Works like brew. See bru --help for all commands. Unsupported commands automatically fall back to brew.
Library: For Rust projects that need programmatic Homebrew access. See docs/library-api.md for complete API reference and examples.
Limitations
Source builds (~5% of formulae without precompiled bottles) automatically fall back to brew.
Compatibility
Works with Homebrew v4.x on:
- macOS 13+ (Ventura, Sonoma, Sequoia)
- Apple Silicon (M1/M2/M3)
- Intel (x86_64)
Documentation
- Library API - Programmatic access for Rust projects
- Architecture - System design and internals
- CHANGELOG - Version history
Testing
# Run all tests
cargo test
# Build release binary
cargo build --release
Contributing
Contributions welcome! See CONTRIBUTING.md.
License
MIT OR Apache-2.0
Made by nijaru
Dependencies
~19–38MB
~554K SLoC