Node.js > nodenv

$ git clone https://github.com/nodenv/nodenv.git ~/.nodenv

$ echo 'export PATH="$HOME/.nodenv/bin:$PATH"' >> ~/.bashrc

$ echo 'eval "$(nodenv init -)"' >> ~/.bashrc

$ curl -fsSL https://github.com/nodenv/nodenv-installer/raw/master/bin/nodenv-doctor | bash

$ nodenv install -l

nodenv-update

% nodenv install --list

% mkdir -p "$(nodenv root)"/plugins

% git clone https://github.com/nodenv/nodenv-update.git "$(nodenv root)"/plugins/nodenv-update

% nodenv update

.

git clone https://github.com/nodenv/nodenv-package-rehash.git "$(nodenv root)"/plugins/nodenv-package-rehash

/.bashrc or ~/.zshrc

- eval "$(nodenv init -)"
+ eval "$(nodenv init - --no-rehash)"