fnm

Fast Node.js version manager.

TLDR

Install a specific version of Node.js

$ fnm install [node_version]
copy


List all available Node.js versions and highlight the default one
$ fnm list
copy


Use a specific version of Node.js in the current shell
$ fnm use [node_version]
copy


Set the default Node.js version
$ fnm default [node_version]
copy


Uninstall a given Node.js version
$ fnm uninstall [node_version]
copy

Copied to clipboard