More than 1 year has passed since last update.
- 一つのマシンでNode.js,Python,Ruby 等の複数言語を扱うかもしれないので、anyenvをインストールしてみた
- 基本的には公式通りでOK
anyenvインストール
git clone https://github.com/riywo/anyenv ~/.anyenv
echo 'export PATH="$HOME/.anyenv/bin:$PATH"' >> ~/.bash_profile
echo 'eval "$(anyenv init -)"' >> ~/.bash_profile
exec $SHELL -l
anyenvでndenvをインストール
anyenv install ndenv
exec $SHELL -l
ndenvでNode.jsをインストール
- インストール可能なバージョン一覧
- インストール
- インストールされているバージョン一覧
- バージョン切り替え(global)
- 確認
参考
Why not register and get more from Qiita?
- We will deliver articles that match you
By following users and tags, you can catch up information on technical fields that you are interested in as a whole
- you can read useful information later efficiently
By "stocking" the articles you like, you can search right away
Sign upLogin