| Crates.io | sps |
| lib.rs | sps |
| version | 0.1.56 |
| created_at | 2025-04-28 21:15:04.507736+00 |
| updated_at | 2025-05-27 04:57:44.686317+00 |
| description | Package Manager for macOS |
| homepage | |
| repository | https://github.com/alexykn/sps |
| max_upload_size | |
| id | 1652672 |
| size | 387,165 |
[!WARNING] ALPHA SOFTWARE sps is experimental, under heavy development, and may be unstable. Use at your own risk!
BREAKING CHANGE: Reverted back to using shared $HOMEBREW_PREFIX (/opt/homebrew/ fallback) for the root because a dedicated prefix breaks some formulae and bottle installs. Run
sps initto bootstrap your environment (unchanged).Uninstalling a cask with brew then reinstalling it with sps will have it installed with slightly different paths, your user settings etc. will not be migrated automatically.
sps is a next‑generation, Rust‑powered package manager inspired by Homebrew. It installs and manages:
ARM only for now, might add x86 support eventually
sps‑core Core library: fetching, dependency resolution, archive extraction, artifact handling (apps, binaries, pkg installers, fonts, plugins, zap/preflight/uninstall stanzas, etc.)
sps‑cli Command‑line interface: sps executable wrapping the core library.
/opt/sps as standalone layoutsps init helper to bootstrap your environmentcargo install sps
due too the amount of work keeping the crates up to date with every change would entail the crates.io published version will only be updated after major changes or fixes (if there are none expect once a week)
# Print help
sps --help
# Update metadata
sps update
# List all installed packages
sps list
# List only installed formulae
sps list --formula
# List only installed casks
sps list --cask
# Search for packages
sps search <formula/cask>
# Get package info
sps info <formula/cask>
# Install bottles or casks
sps install <formula/cask>
# Build and install a formula from source
sps install --build-from-source <formula>
# Uninstall
sps uninstall <formula/cask>
# Reinstall
sps reinstall <formula/cask>
#Upgrade
sps upgrade <formula/cask> or --all
# (coming soon)
sps cleanup
sps init
Prerequisites: Rust toolchain (stable).
git clone <repo-url>
cd sps
cargo build --release
The sps binary will be at target/release/sps. Add it to your PATH.
You can download the latest nightly build from actions/workflows/rust.yml inside this repository (select a successful build and scroll down to Artifacts).
Before running the downloaded binary, remove the quarantine attribute:
xattr -d com.apple.quarantine ./sps
Then, you can run the binary directly:
./sps --help
sps lives and grows by your feedback and code! We’re particularly looking for:
--build-from-sourceFeel free to open issues or PRs. Every contribution helps!
Alpha software. No guarantees. Use responsibly.