ブログ移転しました!

https://lighthouse-dev.github.io/

Node.js Install

対象OS

CentOS
Fedora
  • Fedora 21 (Twenty One) (32-bit、64-bit)
  • Fedora 20 (Heisenbug) (32-bit、64-bit)
  • Fedora 19 (Schrödinger's Cat) (32-bit、64-bit)
Etc

インストール手順

Node.js v8(LTS)をインストールする場合は、以下のコマンドを実行

curl --silent --location https://rpm.nodesource.com/setup_8.x | sudo bash -

Node.js v9 をインストールする場合は、以下のコマンドを実行

curl --silent --location https://rpm.nodesource.com/setup_9.x | sudo bash -

その次、以下を実行

sudo yum -y install nodejs