Node.js on OSX

Node.js is an open source, cross-platform runtime environment for server-side and networking applications. Node.js applications are written in JavaScript, If you are not already fimilar with what Node.js is, you can learn more over it from here.

We will be using Homebrew to install Node.js, Homebrew makes it more easier to install and upgrade Node.js.

Getting Started

Downloading and installing Homebrew (XCode need to be installed)

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"  

You can install Node.js by entering this command.

brew install node  

To check everything is working correctly you can run.

brew doctor  

Now you have Node.js installed on your Mac