- August 12, 2015
Open Terminal from the Finder application.
Install Homebrew using the following command:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Once Homebrew is installed, you can easily get Node.js by typing the following command in the Terminal window:
brew install node
Verify Your Node.js Installation
For information about running Node.js, you can check out this How To Node resource: http://howtonode.org/hello-node