LoginSignup
4
4

More than 5 years have passed since last update.

NVMコマンド覚え書き

Posted at

1.nvmのバージョンを確認する

$ nvm --version
0.10.0

2.インストール可能なNode.jsのバージョンを確認する

$ nvm ls-remote
v0.1.14
v0.1.15
v0.1.16
:
:
v0.11.12
v0.11.13

3. Node.jsのインストール

$ nvm install v0.11.13
######################################################################## 100.0%
Now using node v0.11.13

4.インストールしたNode.jsのバージョンを表示する

$ nvm ls
->  v0.10.26
    v0.11.13

-> 」は現在使用中のNode.jsのバージョン

5.使用するNode.jsを切り替える

$ nvm use v0.11.13
Now using node v0.11.13

6. 現在使用中のバージョンを表示する

$ nvm current
v0.10.26
4
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
4