LoginSignup
8
11

More than 5 years have passed since last update.

CentOS 7にnodebrewを使ってNode.jsをインストール

Posted at

CentOS 7にnodebrewを使ってNode.jsをインストールするときのコマンド。

2018/02/17時点のLTS版のNode.js v8.9.4をインストールする。

sudo yum -y groupinstall 'Development tools'
curl -L git.io/nodebrew | perl - setup
echo 'export PATH=$HOME/.nodebrew/current/bin:$PATH' >> ~/.bashrc
source ~/.bashrc
nodebrew install v8.9.4
nodebrew use v8.9.4
8
11
1

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
8
11