Skip to content

Instantly share code, notes, and snippets.

@alexilyaev
Last active March 7, 2023 19:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexilyaev/362c5829549ddcc0de778d7d10119b6f to your computer and use it in GitHub Desktop.
Save alexilyaev/362c5829549ddcc0de778d7d10119b6f to your computer and use it in GitHub Desktop.
Node version managers

Node Version Managers

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 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment