Sunday 16 June 2013

Installing Node and MongoDB On Mac OSX

There are many ways to install Node and MongoDB on OSX, the easiest way is to use a package management tool, and I prefer to use Brew.

Before you install Brew you will need to install XCode (you'll need the compiler)

If you don't have brew installed you can follow the instructions here On Mac: install brew, or simply type
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
into a shell.
Once you have that you can then do:
brew update
then
brew install node

brew install mongodb

to install NodeJs and MongoDB respectively

No comments:

Post a Comment