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 % nodenv install --list
mkdir -p "$(nodenv root)"/plugins % mkdir -p "$(nodenv root)"/plugins git clone https://github.com/nodenv/nodenv-update.git "$(nodenv root)"/plugins/nodenv-update % git clone https://github.com/nodenv/nodenv-update.git "$(nodenv root)"/plugins/nodenv-update
アップデート
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)"

Reload   Diff   Front page List of pages Search Recent changes Backup Referer   Help   RSS of recent changes