I just use homebrew on Linux. Things are relatively up to date, there's better support for installing multiple versions of something compared to apt/pacman/what have you, and development tools are separated from system packages.
This is a place where Nix really shines. Known inputs produce known outputs. When you remove a package nothing is left behind. The package selection is immense. I use it on WSL and Arch (with a flake) and it works exactly the same everywhere with no gotchas.
Surely you can search for any package manager and find lots of people having issues with it.
I should really check out nix-shell.