Skip to content

Instantly share code, notes, and snippets.

@donchan922
Created September 6, 2019 23:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save donchan922/efd659baa6d3fcc7a2ca1aaf1a9ed9ee to your computer and use it in GitHub Desktop.
Save donchan922/efd659baa6d3fcc7a2ca1aaf1a9ed9ee to your computer and use it in GitHub Desktop.
# 利用できるNode.jsのバージョン一覧を確認する
$ nodebrew ls-remote
v0.0.1 v0.0.2 v0.0.3 v0.0.4 v0.0.5 v0.0.6
〜省略〜
v12.0.0 v12.1.0 v12.2.0 v12.3.0 v12.3.1 v12.4.0 v12.5.0 v12.6.0
v12.7.0 v12.8.0 v12.8.1 v12.9.0 v12.9.1 v12.10.0
# Node.jsのバージョンを指定してインストールする
$ nodebrew install v12.4.0
# インストールされているNode.js一覧を確認する
$ nodebrew list
v12.4.0
# 利用するNode.jsのバージョンを指定する
$ nodebrew use v12.4.0
# 現在利用しているNode.jsのバージョンを確認する
$ node -v
v12.4.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment