manually installing mean.js Yeoman generator in npm global

# remove Yo generator from npm global
sudo npm remove generator-meanjs -g
sudo npm cache clean -g


# figure out where my npm files are
npm root -g
>>/usr/lib/node_modules


# cd to the npm global directory
cd /usr/lib/node_modules
ls
>>bower grunt-cli  gulp  http-server nodemon npm  yo


# get the latest Yo generator code from GitHub
sudo git clone https://github.com/meanjs/generator-meanjs
cd generator-meanjs

# switch to the 0.4-dev branch
sudo git checkout origin/0.4-dev

# install any generator-meanjs dependencies to global
sudo npm update -g


cd ~/
# test it
mkdir tmp
cd tmp
yo meanjs:vertical-module my_crud_module

Ian Scrivener http://ianscrivener.com