Konta's Blog

適当に書いていきます

Node.jsのアンインストールとnodebrewのインストール

homebrewを使ってnode.jsをインストールしている場合のアンインストールとnodebrewのインストールでつまづいたのでメモ。

だいたいはこちらの記事の通りでオッケーだった。
homebrewでインストールしたnode.jsをアンインストールする | ひびテク

僕の場合、brew doctorを実行すると、

Unbrewed header files were found in /usr/local/include.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

と言われて大量ファイルが羅列されたがこれは無視しても大丈夫なようだ。

nodebrewのインストールはこちらの記事の通りでオッケー
macにnodebrewをインストールする

nodebrew list nodebrew user [#version] とか忘れがちなので注意。