# nvmのインストール
git clone git://github.com/creationix/nvm.git ~/.nvm
# 設定の読込
echo "source ~/.nvm/nvm.sh" >> ~/.bash_profile && source ~/.bash_profile
# nvmのバージョン確認
nvm --version
# install 可能なnode確認
nvm ls-remote
# v8.9.3のインストール(Latest)
nvm install v8.9.3
# インストールされたか確認
node -v
# npmも確認
npm -v
More than 5 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme