pd4d10 / nn

A full featured, cross platform, zero dependencies Node.js version manager
MIT License
20 stars 2 forks source link

NVM comparison? #1

Closed J3m5 closed 6 years ago

J3m5 commented 6 years ago

Hi, I was wondering, what are the benefits from using nvmx instead of NVM?

And how do you handle npm packages installed with older version of node when you install a new one?

pd4d10 commented 6 years ago

@J3m5 The initial motivation is, I need a nvm works at Windows. nvmx is only for macOS and Linux

In addition, nvmx also support nightly, rc, v8-canary version of Node.js, and Microsoft's node-chakaracore

And how do you handle npm packages installed with older version of node when you install a new one?

npm packages are seperated, as nvm does. We'll provide a command migrate to migrate all packages of one version to another, soon

ljharb commented 6 years ago

nvm works on Windows just fine with the Linux subsystem.

Are you aware of https://github.com/jasongin/nvs as well?

I think the name "nvmx" is a bit overly similar to "nvm", personally.

pd4d10 commented 6 years ago

Seems the name "nvmx" is already used by this project

And it may be too similar to "nvm".

Renamed to "nn" to avoid confusion.