LoginSignup
0
0

More than 5 years have passed since last update.

nodeセットアップ用コマンドメモ

Last updated at Posted at 2017-06-01

※nodeが入ってる場合は別途削除している必要あり。

nodebrewインストール
curl -L git.io/nodebrew | perl - setup

.bash_profileに追記
export PATH=$HOME/.nodebrew/current/bin:$PATH

ヘルプ
nodebrew help

インストールされたnodeの確認
nodebrew ls

インストール可能なnodeの確認
nodebrew ls-remote

指定バージョンのインストール
nodebrew install-binary v8.0.0

インストールしたnodeを利用可能にする
nodebrew use v8.0.0

nodeのバージョン確認
node -v

0
0
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
0
0