cross-posted from: https://programming.dev/post/45148310
Supac - a declarative package manager written in Rust, scriptable in nushell
Supac is a declarative package manager written in Rust fully scriptable in nushell. It’s meant to make it easy to use the native package managers in existing distros without going through the associated headaches of using Nix, while maintaining the ergonomics of structured data in nushell.
Currently supported backends are:
- Archlinux and derivatives
- flatpak
- cargo/cargo-binstall
- uvx (packages only for now)
- rustup toolchains
I daily drive it, and it works well. Feel free to give it a try!



Now this looks interesting. I personally use chezmoi and scripts to install and manage the apps that I want. Having a dedicated manager would be ideal.
Edit: it says that disabling backends is currently not supported, does that mean that it doesn’t worn in environments without pacman for example?
Right now, you can do it in two ways:
I’d mostly go with 1 unless you’re sharing your non-arch config with an arch config on two separate machines.