Great question — and one that's been on the minds of many macOS users, especially since Apple transitioned to ARM-based M1/M2/M3 chips.
Let’s break this down into two parts:
🔧 Why is Homebrew so overengineered?
Homebrew isn’t necessarily overengineered, but it often feels that way because of how deeply it integrates with macOS systems and how much flexibility it gives developers. Here are some reasons why it seems complex or overbuilt:
1. It tries to do too much
- Homebrew started as a simple package manager, but now it includes:
brew, for installing CLI tools and libraries
brew cask, for GUI apps
brew services, for managing background processes
brew bundle, for replicating environments
- And even things like
brew autoremove, brew cleanup, etc.
- This makes it feel bloated compared to simpler tools like
apt (Debian/Ubuntu) or pacman (Arch).
2. Apple’s restrictions make it complicated
- macOS doesn't allow changing system paths easily (
/usr/bin is protected), so Homebrew installs everything under /opt/homebrew (on ARM) or /usr/local (Intel).
- This leads to path management issues, environment setup quirks, and shell config changes.
- Apple’s System Integrity Protection (SIP) also forces Homebrew to work around OS limitations, adding complexity.
3. Formulae vs Packages
- Homebrew uses Ruby-based "formulae" instead of binary packages by default (though they have precompiled bottles now).
- Formulae allow customization and patching, which increases flexibility but adds overhead in maintenance and understanding.
4. Cross-platform support ambitions
- With
linuxbrew, Homebrew tried to be cross-platform, which added layers of abstraction and complexity.
- Now called
Linuxbrew, but the legacy still affects code structure and design decisions.
5. User expectations
- Developers expect perfection: reproducibility, sandboxing, dependency resolution, version pinning, etc.
- Meeting those demands without native OS support means more engineering — hence the “overengineered” feel.
🧠 Why hasn’t anyone built something better for macOS ARM yet?
This is a common sentiment, especially among new Mac users coming from Linux or other ecosystems.
1. Homebrew already works well enough
- It supports ARM natively now.
- Most major packages have ARM ("bottle") builds.
- For most developers, it "just works" — so there's little incentive to replace it unless you hit pain points regularly.
2. Building a better package manager is hard
- You need to handle:
- Dependency resolution
- Sandboxing / permissions
- Version pinning
- Binary compatibility
- Cross-platform support (optional)
- Doing this on macOS is harder due to its closed nature.
3. No standard package format on macOS
- Unlike Linux (
deb, rpm, flatpak, snap) or Windows (MSI, MSIX), macOS has:
.pkg
.app bundles
- App Store apps
- Terminal-only binaries
- There's no single unified packaging standard, making it hard to build a universal tool.
4. Apple doesn’t prioritize developer-centric package management
- They focus on app distribution via the App Store and system-level updates via Software Update.
- The terminal ecosystem is treated more like a bonus than a core platform.
5. Alternatives exist, but none are widely adopted
Here are a few attempts:
| Tool | Description | Pros | Cons |
|---|
| MacPorts | Older than Homebrew; compiles from source | More control, consistent across macOS versions | Slower, steeper learning curve |
| pkgsrc | NetBSD's portable pkg system | Very portable | Even slower, niche |
| Nix | Functional package manager | Reproducible, powerful | Heavy, unconventional |
mise (formerly rtx) | Language version manager | Great for dev tools | Not a full system package manager |
| conda | Python-focused, but general | Cross-platform, isolated envs | Mainly for data science |
| determinate.systems | New Nix-based installer for macOS | Promising | Still early |
🚀 So what would a better macOS package manager look like?
If someone were to build something truly better, here are features they might include:
✅ Goals:
- Native support for ARM and Intel
- Fast, secure, and reliable dependency resolution
- Clear separation between system packages and userland tools
- Sandboxed installation
- Binary-first approach (like
apt or dnf)
- Simpler configuration and fewer edge cases
⚙️ Possible tech stack:
- Written in Rust or Go for performance
- Use TOML/YAML instead of Ruby DSLs
- Support containers or virtualization where possible
- Leverage Apple’s own frameworks where appropriate (e.g., Swift)
📝 TL;DR
- Homebrew feels overengineered because it does a lot, works around macOS limitations, and grew organically.
- Nothing better exists yet because building a true alternative is hard, and Homebrew just barely works well enough.
- While alternatives like Nix or
mise are promising, none have reached the simplicity or ubiquity of a modern Linux package manager.
Would you like a comparison table of macOS package managers? Or help choosing one based on your use case?