this post was submitted on 25 Mar 2024
12 points (92.9% liked)
Node.js
217 readers
1 users here now
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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
That's hardly relevant for those who need to run node on Windows and WSL is not an option.
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.