3
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.5にnodebrewでnode.jsをインストール

Posted at

なぜ、いまさらCentOS6.5かというとConoHaVPSの標準バージョンやねん。
VPSを借りるのお金がかかるので検証はVMWareでやるわ。

wget git.io/nodebrew --no-check-certificate
perl nodebrew setup

--no-check-certificateオプションがないと怒られたのでつけた。

.bashrcをnanoエディタで編集すんで。

nano ~/.bashrc

export PATH=$HOME/.nodebrew/current/bin:$PATH #この一文をファイルの最後に追記や

んで、再読み込みっと。

source ~/.bashrc

バージョンを確認するで。

nodebrew --version
nodebrew 0.8.1

こうなればOKやで。

3
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
3
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?