Updates 14th Sep 2012 : 1. Alternate method to install Yeoman using Chocolatey. 2. Github Yeoman windows issues link. 15th Sep 2012 : 1. Added description (Chocolatey method). 17th Feb 2013 : 1. On Feb 15th 2013 Yeoman 1.0 BETA released. Its not supported on windows yet. 3rd March 2013 : 1. Yeoman 1.0 Beta can be installed on windows.
This post is for Yeoman 0.9 and a new beta version, Yeoman 1.0 Beta is available and installation instructions can be found here Yeoman 1.0 Beta installation on windows
What is Yeoman?
Its a tool to make the front-end development workflow easier. It includes tools and front-end frameworks that helps to create web apps quickly and easily.
Initialize and scaffold a new project
Build & deploy app
Launch server, preview & live reload
Run automated tests using PhantomJS
Install & update packages
Customise your apps framwork
Genarator for chrome app
More on Yeoman
MAC OSX & Linux Installations Yeoman site
Install Yeoman using Chocolatey (Method 1)
Chocolatey is a package manager for windows. Its like Linux apt-get. Once Chocolatey installed, you can install Chocolatey packages from windows cmd. Install Chocolatey & type
cinst yeoman it will prompt you to install all necessary tools one by one.
Goto chocolatey.org Chocolatey NuGet is a Machine Package Manager, somewhat like apt-get, but built with windows in mind.
Open cmd & paste
C:> @powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('http://bit.ly/psChocInstall'))" && SET PATH=%PATH%;%systemdrive%\chocolatey\bin
c:> cinst yeoman
It will fetch & install all dependent files.
Yeoman installed on windows and now its time to play with yeoman commands. Close and reopen cmd.
C:> yeoman init --disable-insight
This will create bolierplate for your next application. To launch preview server and run application locally use
yeoman server --disable-insight.
Windows (Method 2)
This is a self-contained Windows-based installer that includes the Ruby language, an execution environment, important documentation, and more.
Compass is an open-source CSS Authoring Framework.
Git is a free and open source distributed version control system
The easiest way to use Git on Windows. [Optional]
Python is a programming language that lets you work more quickly and integrate your systems more effectively.
1.Download and install all above tools
There are 2 method to install Yeoman.
——a. Open command prompt & type
C:\npm install yeoman
——b. You can install using Git
Clone Yeoman using git.
If you have installed Github for windows tool. “Clone in windows” from Github Yeoman page.
Clicking on “Clone in Windows” will open up windows github tool.
After cloning right click and open files in explorer.
shift + right click inside the root folder. You will get an option “Open Command Window Here”.
npm install -g
You will get following screen if its a success.
Working with Yeoman
yeoman init # Initialize and scaffold a new project using generator templates yeoman build # Build an optimized version of your app, ready to deploy yeoman server # Launch a preview server which will begin watching for changes yeoman test # Run a Mocha test harness in a headless PhantomJS yeoman install # Install a package from the client-side package registry yeoman uninstall # Uninstall the package yeoman update # Update a package to the latest version yeoman list # List the packages currently installed yeoman search # Query the registry for matching package names yeoman lookup # Look up info on a particular package
Github Yeoman Windows issue
File bugs & issues here github yeoman windows issue
Its a super cool tool that helps to streamline front-end workflow.