Nix package manager can be installed on (almost) any distro, I’m running it in an android termux right now for example. Side note if you want a fun project for an old phone you could probably run radarr this way, I’m using it for Garage s3 storage.
Without diving into the juicy details too much, the command does temporarily install it - in a way that its essentially free to reinstall anytime. For permanent setups you just have to add it to a text file, that could use a bit of a face life to be honest. Though comparitevly this would be trivial to implement vs the meat of the package manager itself
Really thought the prequels did that.
Think anything smart JJ did was just from the next guy over’s test he was copying.