0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

nodebrewでnodeをインストール

Posted at

homebrewを使ってnodeをインストールする

brew install nodebrew

ちゃんと入ったか確認
nodebrew -v
セットアップ
nodebrew setup
pathを設定しろと言われるのでbash_profileに追加
export PATH=$HOME/.nodebrew/current/bin:$PATH

再読み込み
. ~/.bash_profile

#nodeをインストール
利用可能な一覧
ls-remote
使用可能なバージョンがリストされるので好きなものをインストール(記載時点の最新)
nodebrew install-binary v13.9.0
ちゃんとあるか確認
nodebrew ls
v13.9.0が表示されればOK

nodebrew use v13.9.0
use v13.9.0 が表示される

node --version
v13.9.0が表示されればOK

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?