nvm

nvm

TLDR

Install a specific version of Node.js

>_ nvm install [node_version]
copy

Use a specific version of Node.js in the current shell

>_ nvm use [node_version]
copy

Set the default Node.js version

>_ nvm alias default [node_version]
copy

List all available Node.js versions and highlight the default one

>_ nvm list
copy

Uninstall a given Node.js version

>_ nvm uninstall [node_version]
copy

Launch the REPL of a specific version of Node.js

>_ nvm run [node_version] --version
copy

Execute a script in a specific version of Node.js

>_ nvm exec [node_version] node [app.js]
copy

Copied to clipboard
free 100$ digital ocean credit