How to install mean.io from scratch on Ubuntu 12.04

A quick note: Before choosing mean.io for your next project, you should be aware of this article by Amos Haviv, the former lead devloper at mean.io. The article explains that mean.io was being forced into a commercial product, which prompted the creation of mean.js, an open-source fork by two founding developers that to date has much better community support and documentaion. I wrote a guide to installing mean.js from scratch on Ubuntu here, if you’d rather do that.

All that aside, here’s how to install mean.io from scratch on Ubuntu 12.04, complete with bash script you can just download and run on your machine.

I’ll update this periodically as this process changes. This article was last updated April 11, 2014.