nodebrewを使うとrbenvのようにnode.jsのバージョンを選択できる。
curl -L https://raw.githubusercontent.com/hokaccha/nodebrew/master/nodebrew | perl - setup
Node.js configure error: No acceptable C compiler found!
Please make sure you have a C compiler installed on your system and/or
consider adjusting the CC environment variable if you installed
it in a non-standard prefix.
python ./configure
Node.js configure error: No acceptable C compiler found!
Please make sure you have a C compiler installed on your system and/or
consider adjusting the CC environment variable if you installed
it in a non-standard prefix.
python tools/gyp_node.py -f make
gyp: Undefined variable node_tag in /home/buildusr01/.nodebrew/src/v0.10.27/node-v0.10.27/node.gyp
make: *** [out/Makefile] Error 1
| nodebrew ls | show version list(local) |
| nodebrew ls-remote | show all version(remote) |