Install Mean.js on Macbook





I have just set up my new mac book to carry out some mean.js development work. I had never set up a a mac to do this before, so thought I would just quickly note down the steps for future reference. I have previously posted about how to install mean.js on ubuntu my preferred development platform. In this post I will provide the steps I undertook to install mean.js on my macbook.

Install Homebrew

Mac OS doesn’t come pre-packaged with a package manager, similar to apt-get or yum on linux. However, there is one available. Homebrew , an easy to install and only requires you to run the following command in your terminal window.

Install Node.js

Installing node.js on the mac is super easy, just navigate to the node.js website and hit the install button. There were no further complications.

Install Grunt

Grunt is essential if you’re going to use Mean.js so it is worth while installing it globally on your machine

Install MongoDB

Now that we have Homebrew installed installing MongoDB is super easy.  All the is required is:

Running a quick test to ensure mongo is running





Screen Shot 2015-08-13 at 00.31.09

Install Webstorm

I have mentioned before that I use Webstorm for all my javascript development, so I quickly installed it on my mac.

Note
It is not necessary to install Webstorm to use MeanJS. It is just my preferred Javascript IDE.

It is possible to use any other Text Editor or IDE i.e. Sublime Text , VIM etc

Install YeoMan

MeanJS makes heavy use of the YeoMan generator.  We’ll also install Bower and Grunt, which are the build and packaging tools used by MeanJS.

Install the MeanJS generator

The generator will help you create a MEAN.JS application, a CRUD module, Angular Module, and other AngularJS/Express entities. We’ll begin with the application generator.




Generate Project

Your environment is now all completely setup.  You are now able to generate a new project and continue developing.  If you need assistance with this check out Get up and running with mean.js

Gary Woodfine

Freelance Full Stack Developer at threenine.co.uk
Helps businesses by improving their technical proficiencies and eliminating waste from the software development pipelines.

A unique background as business owner, marketing, software development and business development ensures that he can offer the optimum business consultancy services across a wide spectrum of business challenges.

Latest posts by Gary Woodfine (see all)

Affiliate Disclaimer

Disclosure: Please note that some of the links included in the blog posts are affiliate links, which means I will earn a commission if you decide to make a purchase.

I only include affiliate links to products, services and companies that I have personal experience and have actually used. I only recommend them because they are helpful and useful, not because of the small commissions I make if you decide to buy something.

Please do not spend any money on these products unless you feel they are relevant, suitable and will help you achieve your goals.

Buying anyone of these products and the commisions earned will not make me an overnite multi millionaire, but they will help to cover the hosting costs and compensate for the countless hours and effort I put in to create meaningful and valuable free content I provide to help others succeed.

You've also undoubtedly noticed that I also use various advertising networks - unless of of course you're using an Ad blocker, this is also an attempt to reduce my monthly deficit I experience in providing free relevant, valuable and on occassion insightful content for the benefit of others.

I only really make some money if people click on the ads, unless of course you consider 1c per 1000 impressions real money!

Bear in mind just how many impressions I need to make before I can cover my £20 hosting costs a month!

If you are using an adblocker and guilt stricken you can of course donate using any of the buttons below, but I won't be holding my breath.

Buy me a coffeeBuy me a coffee

π