FNM manages Node versions for your different projects.

FNM provides more features and is significantly faster than NVM, the de facto tool for managing Node versions.

Let’s compare the features and performance.

Shell Integration

When switching directories, FNM will automatically enable the required Node version based on the .nvmrc or .node-version files in the directory.

If the Node version is not installed already, FNM will prompt you to install it.

NVM doesn’t provide this functionality out-of-the-box and recommends using other tools.

Performance

FNM is fast.

Calling fnm use takes 4ms.

The equivalent nvm use takes 450ms.

FNM’s great performance means the shell integration won’t slow you down, unlike NVM.

Conclusion

FNM is better than NVM for managing Node versions.