https://github.com/alexykn/sps
Rust based package manager for macOS
https://github.com/alexykn/sps
brew homebrew macos package-management package-manager rust
Last synced: about 6 hours ago
JSON representation
Rust based package manager for macOS
- Host: GitHub
- URL: https://github.com/alexykn/sps
- Owner: alexykn
- License: bsd-3-clause
- Created: 2025-04-12T09:12:20.000Z (19 days ago)
- Default Branch: main
- Last Pushed: 2025-04-28T21:25:05.000Z (3 days ago)
- Last Synced: 2025-04-28T21:27:39.457Z (3 days ago)
- Topics: brew, homebrew, macos, package-management, package-manager, rust
- Language: Rust
- Homepage:
- Size: 1.05 MB
- Stars: 1,623
- Watchers: 2
- Forks: 16
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# sps
> [!WARNING]
> **ALPHA SOFTWARE**
> sps his experimental, under heavy development, and may be unstable. Use at your own risk!
>
> 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 his a next‑generation, Rust‑powered package manager inspired by Homebrew. It installs and manages:
- **Formulae:** 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
- **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.
---
## 🚧 Current Status
- Bottle installation and uninstallation
- Cask installation and uninstallation
- Reinstall command for reinstalls
- Upgrade command for updates (very careful. I ran into no system breakers, my Perl install got nuked though)
- Parallel downloads and installs for speed
- Automatic dependency resolution and installation
- Building Formulae from source (very early impl)---
## 🚀 Roadmap
- **Cleanup** old downloads, versions, caches
- **Prefix isolation:** support `/opt/sps` as standalone layout
- **`sps init`** helper to bootstrap your environment
- **Ongoing** Bug fixes and stability improvements---
## Trying it out:
```bash
cargo 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)
---
---
## 📦 Usage
```sh
# Print help
sps --help# Update metadata
sps update# Search for packages
sps search# Get package info
sps info# Install bottles or casks
sps install# Build and install a formula from source
sps install --build-from-source# Uninstall
sps uninstall# Reinstall
sps reinstall#Upgrade
sps upgrade or --all# (coming soon)
sps cleanup
sps init
```-----
## 🏗️ Building from Source
**Prerequisites:** Rust toolchain (stable).
```sh
git clone
cd sps
cargo build --release
```The `sps` binary will be at `target/release/sps`. Add it to your `PATH`.
-----
## 📥 Using the Latest Nightly Build
You can download the latest nightly build from [`actions/workflows/rust.yml`](../../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:
```sh
xattr -d com.apple.quarantine ./sps
```Then, you can run the binary directly:
```sh
./sps --help
```-----
## 🤝 Contributing
sps lives and grows by your feedback and code\! We’re particularly looking for:
- Testing and bug reports for Cask & Bottle installation + `--build-from-source`
- Test coverage for core and cask modules
- CLI UI/UX improvements
- See [CONTRIBUTING.md](CONTRIBUTING.md)Feel free to open issues or PRs. Every contribution helps\!
-----
## 📄 License
- **sps:** BSD‑3‑Clause - see [LICENSE.md](LICENSE.md)
- Inspired by Homebrew BSD‑2‑Clause — see [NOTICE.md](NOTICE.md)-----
> *Alpha software. No guarantees. Use responsibly.*