LoginSignup
4
3

More than 5 years have passed since last update.

nvmインストールからnodeインストールまで (ubuntu)

Posted at

nvmインストール

vagrant@vagrant-ubuntu-trusty-64:~$ curl https://raw.githubusercontent.com/creationix/nvm/v0.18.0/install.sh | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  4058  100  4058    0     0    724      0  0:00:05  0:00:05 --:--:--  1319
=> Downloading nvm as script to '/home/vagrant/.nvm'

=> Appending source string to /home/vagrant/.bashrc
=> Close and reopen your terminal to start using nvm

vagrant@vagrant-ubuntu-trusty-64:~$ nvm -v
 nvm: command not found

ターミナルを閉じてから開け、か。なるほど。

vagrant@vagrant-ubuntu-trusty-64:~$ nvm --version
0.18.0

nodeインストール

nvm install v0.10
nvm alias default 0.10

ここはmacと同じです。
2つ目のコマンドを入れないとターミナルを再度立ち上げた時(以下略)

4
3
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
3