Thanks for the article Venkat.R !!!
I’ve been looking into avn, and it does not support Windows.
It seems if a Windows developer needs this feature, they would need to install something like WSL2 (Windows Subsystem for Linux 2, i.e. the 2019 version) to get a real Linux bash shell, and then switch to all *nix versions (including of git and of nvm).
I don’t want to do that, as I am using nvm-windows, Git for Windows, Cmder terminal, so I just manually switch my versions with nvm.
The tool avn also doesn’t switch your version back when you leave a directory, unless you enter another directory with a specified node version.