Node with nodenv
Using nodenv has several advantages. One main advantage for my usage is that my development machine doesn’t heat up on every new Node.js release because Homebrew compiles this version from scratch.
Here is how I have Node.js installed.
$ brew install node-build --without-autoconf --without-openssl --without-pkg-config
$ brew install nodenv --without-bash-extension
Now I can list and install every release I want.
$ nodenv install -l
$ nodenv install 9.4.0