Install MEAN.IO on ubuntu




MEAN.io, is an opinionated fullstack javascript framework which simplifies and accelerates web application development. MEAN is an acronym for MongoDB, Express, AngularJs and NodeJs.

MEAN.IO will help you get started and avoid useless grunt work and common pitfalls, while keeping your application organized. The goal is to create and maintain a simple and readable open-source solution that you can use and trust in your projects.

 

1. Install MongoDB




Check out detailed install MongoDB tutorial

2. Ensure CURL is installed

3. Install Node.JS

I recommend installing Node using Node Version Manager (NVM) check out my tutorial
Install Node.js with Node Version Manager on Ubuntu or if you’re on a mac check out Install nodejs with NVM on OSX

4. Install git

5. Install Grunt

6. Install Bower

Once these have all been completed you can then carry on with the instructions on the mean.io website to setting up your first project





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.
  • chunk

    Um, thanks. I like it. Good; dense; to the point. I appreciate the time of mine you saved.

    • threenine

      Thank you so much for the comment. Glad I managed to save you some time.
      Enjoy the MEAN.io stack, it’s cool

  • Anurag Ranjan

    NEVER DO sudo npm. Just do npm

    • Pretty much the most useless comment.

      What you have failed to point out, is that this is pretty much dependent on your environment and how it is configured. There are obviously methods and processes one to can do to enable npm configured using a normal user account.

      Leaving a comment a one line comment without a link to an article or post on how to configure your environment is not particularly helpful to users.

      Your comment is as useful as me saying. Never use a car, always walk.

  • funk101

    I’m having an issue when getting to “sudo npm install -g meanio@latest” . I wonder if you can help me with this? See below:

    npm WARN deprecated swig@1.4.2: This package is no longer maintained

    > meanio@0.9.4 postinstall /usr/lib/node_modules/meanio
    > cd ./lib/core_modules/server && npm install && cd ../../..

    npm ERR! addLocal Could not install /usr/lib/node_modules/meanio/lib/core_modules/server
    npm ERR! Linux 4.4.0-87-generic
    npm ERR! argv “/usr/bin/node” “/usr/bin/npm” “install”
    npm ERR! node v6.11.4
    npm ERR! npm v3.10.10

    ~~~~~~~~
    meanio@0.9.4 postinstall: cd ./lib/core_modules/server && npm install && cd ../../..
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the meanio@0.9.4 postinstall script ‘cd ./lib/core_modules/server && npm install && cd ../../..’.
    npm ERR! Make sure you have the latest version of node.js and npm installed.
    npm ERR! If you do, this is most likely a problem with the meanio package,
    npm ERR! not with npm itself.
    npm ERR! Tell the author that this fails on your system:
    npm ERR! cd ./lib/core_modules/server && npm install && cd ../../..

π