I tried nvm many years ago and it had several issues that I remember:
- Setup was not as simple compared to n at the time
- It was quite slow moving from one Node version to another
- Couldn't automatically switch the Node version when entering a folder (now they cover that)
- In the past I used avn for that, but it was slow as well
- Global packages were lost when moving from one Node version to another
- Tbh, fnm has the same issue now, hopefully they'll add support for it soon
- Didn't support Windows or needed an extra package to support it
I used n for years and recently used Volta which was great but didn't support .node-version
or .nvmrc
files as configs (only inside package.json
).
fnm seems to be the next step in that evolution.
Basically, most JS tools are moving to Rust it seems 😄