in Our Authors, Tips

How to setup Yeoman on Windows

Follow the steps below to get up and running with Yeoman on Windows system.

Install Ruby tools

Many Yeoman generators come with SASS and to use SASS you should have Ruby. So to install Ruby:

  1. Go to , and download and run the installer
  2. During installation if installer gives you the option to add Ruby to your PATH
  3. Open Command prompt
  4. Check Ruby version to confirm that Ruby path is set.
ruby -v

If this command fails, make sure that path of your Ruby installation is added to environment variables or not. If path is not set (for Ruby), add the path manually.  To finalize this part of installation, go on and:

  1. Install bundler: gem install bundler
  2. Install compass: gem install compass

Install Git

  1. Download Git for Windows from
  2. Run the installer and make sure Git is also in your PATH

Install node dependencies

  1. Install NodeJS from Make sure you check the option add path to environment variables while installing.
  2. Open Command Prompt
  3. Install bower: npm install -g bower
  4. Install grunt-cli: npm install -g grunt-cli
  5. Install yeoman: npm install -g yo

You can do all the above steps (except installing nodejs) in one command as well.

npm install -g bower grunt-cli yo generator-angular

Now you have everything you need to run Yeoman.

Share this ...Tweet about this on TwitterShare on FacebookEmail this to someoneShare on RedditShare on Google+Share on LinkedInPin on Pinterest