Sapphire: Rust based package manager for macOS (homebrew replacement)

https://news.ycombinator.com/rss Hits: 23
Summary

Sapphire WARNING: ALPHA SOFTWARE > Sapphire is experimental, under heavy development, and may be unstable. Use at your own risk! Uninstalling a cask with brew then reinstalling it with Sapphire will have it installed with slightly different paths, your user settings etc. will not be migrated automatically. Sapphire is a next‑generation, Rust‑powered package manager inspired by Homebrew. It installs and manages: Formulae: command‑line tools, libraries, and languages command‑line tools, libraries, and languages Casks: desktop applications and related artifacts on macOS ARM only for now, might add x86 support eventually ⚙️ Project Structure sapphire‑core Core library: fetching, dependency resolution, archive extraction, artifact handling (apps, binaries, pkg installers, fonts, plugins, zap/preflight/uninstall stanzas, etc.) sapphire‑cli Command‑line interface: sapphire executable wrapping the core library. 🚧 Current Status Bottle installation and uninstallation Cask installation and uninstallation Parallel downloads and installs for speed Automatic dependency resolution and installation Building Formulae from source (very early impl) 🚀 Roadmap Upgrade command to update installed packages Cleanup old downloads, versions, caches Reinstall command for quick re‑pours Prefix isolation: support /opt/sapphire as standalone layout sapphire init helper to bootstrap your environment Ongoing Bug fixes and stability improvements 📦 Usage # Print help sapphire --help # Update metadata sapphire update # Search for packages sapphire search < formula/cask > # Get package info sapphire info < formula/cask > # Install bottles or casks sapphire install < formula/cask > # Build and install a formula from source sapphire install --build-from-source < formula > # Uninstall sapphire uninstall < formula/cask > # (coming soon) sapphire upgrade [--all] < name > sapphire cleanup sapphire init 🏗️ Building from Source Prerequisites: Rust toolchain (stable). git clone < repo-url > cd sapphire cargo ...

First seen: 2025-04-22 19:42

Last seen: 2025-04-23 17:46