Install MongoDB on Mac OSX using Homebrew

The homebrew package manager really simplifies setting up your Mac OSX for development.  I have previously posted about how to install homebrew on Mac OSX  and how to install NodeJS using NVM and Homebrew .


When developing Full Stack JavaScript web applications, we predominantly base our applications on the MEAN Stack ( MongoDB, Express, AngularJS and NodeJS)  , and will often during development require a local instance of the MongoDB.   Homebrew completely simplifies the process of not only installing but also running your local instance of MongoDB.


To install MongoDB using homebrew open a  terminal window :

Once installed you can then start your MongoDB

You can also stop your MongoDB


Gary Woodfine

Founder & CTO of Experienced full stack software developer well versed in delivering web & mobile applications utilizing cloud architectures. Areas of speciality include cross platform development in .net , PHP, JavaScript.

%d bloggers like this: