Skip to content

Latest commit

 

History

History
55 lines (36 loc) · 838 Bytes

nodenv.md

File metadata and controls

55 lines (36 loc) · 838 Bytes

Display available versions to install:

nodenv install --list

Get the latest definitions:

brew update && brew upgrade node-build

Install a version:

nodenv install <version number>

Set a specific version to be used on a folder:

nodenv local <version number>

Note: This will create a .node-version file on the folder.

Set a specific version to be used globally:

nodenv global <version number>

Note: Avoid using nodenv shell as this overrides all versions, including the "local" one.

Uninstall a version:

nodenv uninstall <version number>

Display version currently used:

nodenv version

Note: Use this instead of node --version.

Display all installed versions:

nodenv versions