Last Updated: February 25, 2016
·
956
· jasdeepkhalsa

Installing Yeoman and Creating a New Webapp

Assuming you already have Node.js, just copy and paste this code into the command line and it will install Yeoman, Grunt and Bower, create a new folder called webapp in the directory you are currently in and scaffold out a new web application using Yeoman inside the new directory:

npm uninstall -g grunt && npm install -g yo grunt-cli bower && npm install -g generator-webapp && npm install -g generator-mocha && mkdir webapp && cd webapp && yo webapp