Top > nodenv

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)"

Reload   Diff   Front page List of pages Search Recent changes Backup Referer   Help   RSS of recent changes
Last-modified: Sat, 30 Dec 2023 13:50:08 JST (125d)