I am currently using docker + vscode devcontainers. I’ve ditched every other tool and keep my system clean.
I also wrote terminal util for saving/opening all tabs from safari to/from textfile. Good for context switches.
If I want to use global node program I run it in generic nodejs devcontainer…