Node.js on OSX 10.9 Mavericks

(1.) Xcode. Apple’s XCode development software is used to build Mac and iOS apps, but it also includes the tools you need to compile software for use on your Mac. XCode is free and you can find it in the Apple App Store.

(2.) Homebrew . Homebrew is a package manager for the Mac — it makes installing most open source sofware (like Node) as simple as writing brew install node. You can learn more about Homebrew at the Homebrew website. To install Homebrew just open Terminal and type ruby -e "$(curl -fsSL Homebrew/install/master/install)" . You’ll see messages in the Terminal explaining what you need to do to complete the installation process.


(1.) Open the Terminal app and type brew install node.

(2.) Sit back and wait. Homebrew downloads some files and installs them. And that’s it.

To make sure you have Node and NPM installed, run two simple commands to see what version of each is installed:

To see if Node is installed, type node -v in Terminal. This should print the version number so you’ll see something like this V0.12.1 To see if NPM is installed, type npm -v in Terminal. This should print the version number so you’ll see something like this V0.12.1

How to Update Node and NPM

New versions of Node and NPM come out frequently. You can use Homebrew to update the software it installs.

(1.) Make sure Homebrew has the latest version of the Node package. In Terminal type brew update

(2.) Upgrade Node: brew upgrade node

How to Uninstall Node and NPM

You can use Homebrew to uninstall packages that it installed: brew uninstall node

Clone it From GitHub


If you’re using the excellent homebrew package manager, you can install node with one command: brew install node.

Otherwise, follow the below steps:

(1.) Install Xcode.

(2.) Install git.

Run the following commands:

git clone git://

cd node



sudo make install

Download: node.js !

Download node.js

"Node.js is an open source, cross-platform runtime environment for server-side and networking applications."

“If you are going to walk on thin ice, you might as well dance”