LoginSignup
0
0

More than 5 years have passed since last update.

Nodebrewを使ってみる

Last updated at Posted at 2018-11-23
node.jsのVersionを管理するNodebrewをインストールします。

*iTerm2 はHomebrewでインストール済み

1.Nodebrewのインストール

iTerm
curl -L git.io/nodebrew | perl - setup

2.PATHの設定

iTerm
vi .bash_profile

export PATH=$HOME/.nodebrew/current/bin:$PATH

3.node.jsの各バージョンをインストール

iTerm
nodebrew install-binary stable
nodebrew install-binary latest
nodebrew ls

4.(参考)各バージョンのアンインストール

iTerm
nodebrew uninstall <version>

5.npmの動作確認

iTerm
nodebrew use v13.10.0
npm -v

6.npmによるパッケージのインストール (検討中)

iTerm
#npm install -g grunt-cli
npm install -g gulp

#npm install -g webpack
npm install -g parcel-bundler
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