1
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.

Macにnodeのインストール

1
Posted at

grepを入れ替え

Mac標準のgrepだと、

egrep: warning: recursive search of stdin

みたいな感じのエラーが出るので、brewでgrepをインストールする。

% brew install grep

環境変数のPATHは、/usr/local/binを先にしておく。
念の為、確認。

% which grep
/usr/local/bin/grep

nodeをnaveを使ってインストール

% mkdir ~/.nave
% cd ~/.nave
% git clone git://github.com/isaacs/nave.git
% ./nave/nave.sh use latest

npmもインストール

以下のコマンドでインストール

% curl https://npmjs.org/install.sh | sh

確認

% node -v
v0.9.8
% npm -v
1.2.4
1
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
1
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?