I use fnm
instead, because using elaborate shell scripts sounds terrifying.
Node.js
I much prefer https://github.com/tj/n, it’s a more elegant solution imo
I never used this app but it looks like it just does what nvm already does. What exactly makes n more elegant than nvm?
From what I'm seeing, n drops the ball on Windows support, which nvm handles well.
Doesn’t create symlinks or mess with global NPM packages. Also, nvm is only supported on windows through WSL or cygwin, just like n, not sure where you are getting nvm for windows. There’s this, it’s a different application https://github.com/coreybutler/nvm-windows
Doesn’t create symlinks or mess with global NPM packages.
That's hardly relevant for those who need to run node on Windows and WSL is not an option.
Also, nvm is only supported on windows through WSL or cygwin, just like n, not sure where you are getting nvm for windows.
Just yesterday I installed it through chocolatey on a Windows box without WSL.
Also, it seems you failed to notice that nvm makes references to cygwin and git-bash, the later of which everyone who installs Git ends up having in their system.
Yes, you installed this
https://community.chocolatey.org/packages/nvm#description
Which as I said, is this
https://github.com/coreybutler/nvm-windows
It’s stated right in the readme
But your parent post is a link to the POSIX version of nvm, and my comment about n was specifically about that
You have a point. Thanks for taking the time to go through this. Good job.