Skip to content

Instantly share code, notes, and snippets.

@jaromero
Last active August 29, 2015 13:58
Show Gist options
  • Save jaromero/9964937 to your computer and use it in GitHub Desktop.
Save jaromero/9964937 to your computer and use it in GitHub Desktop.

Yeoman 1+ in Windows in 5 minutes

These steps are all performed in cmd.exe

  1. Install Chocolatey NuGet
  2. Install node.js and ruby:
    1. cinst nodejs.install (the "nodejs" package does not include npm, which we do need)
    2. cinst ruby1.9 (the "ruby" package installs ruby 2.0, which might not work)
  3. Restart cmd.exe because Windows is dumb and can't see the new binaries yet in cmd.exe
  4. gem install compass --pre (NuGet has a "compass" package, but it's old, outdated, and doesn't work anymore)
  5. npm install -g yo grunt-cli bower
  6. cinst msysgit to install git, because bower requires it
  7. Finally, restart cmd.exe again to gain access to yo, grunt, bower, and git. Go nuts!

This all assumes you don't have any of the above installed, so that NuGet sets the important dependencies up properly. In the end though, the important thing is that you can run npm, bower, grunt, git, yo and compass from cmd.exe, and it should work fine.

@rvargas
Copy link

rvargas commented Apr 4, 2014

Faltaría agregar bower install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment