Or just use nix with home manager. Battle tested, lots of built-in functionality, works perfectly. Author claims the learning curve for it is weeks, but I had my setup up and running in a 1-2 hours at most and have been super happy with it.
Weeks sounds way more accurate than 1-2 hours.
1. Install nix / determinate nix
2. Tell your favorite llm to set up https://github.com/nix-darwin/nix-darwin with home manager if you are on mac, or just home manager if you are on linux
3. Review the code and ask for clarifications
You'll have a set up in 20 minutes.
Valid approach though I guess.
{ pkgs, ...}: {
home.packages = with pkgs; [ neovim lazygit ];
}> know what Nix will do
you would also need a lot of time to understand what exactly happens in uv/cargo/npm/apt under the hood. if this is all that matters, you should just carry binaries on a thumb drive