0
2

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 5 years have passed since last update.

CentOS6にNode.js 8を入れてみる

Posted at

#前書き
新しいNode.jsが使いたくば、CentOSの6を使うんじゃない、の突っ込みはごもっとも。

でも、AWS使ってたりすると、兼ね合いでNode.js8系を使ってみたくなったり。

インストール。

パッケージ入手

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

どうも、ローカルのrpmデータベースをいじってるみたい。

展開

なんと下記のコマンドで入ってしまいます。

# sudo yum -y install nodejs

##確認
下記にびっくり。

# node -v
v8.11.3
0
2
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
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?