Setting up my HTML5 environment with node Yeoman

Posted by (twitter: @FireZenk)
December 13th, 2013 5:24 am

As I mentioned in my obligatory “I’m in” I decided to make my game with HTML5 and have finally chosen as engine: Phaser.

After several days trying to create a good environment I found the perfect solution and will share as it serves someone else:


– Install Node.js

– Install the required npm modules by issuing these commands:

npm install -g yo generator-phaser

– Create a new directory for your game:

Unix/OSX : mkdir ~/Desktop/mygame && cd $_
Windows : mkdir %USERPROFILE%\Desktop\mygame && cd %USERPROFILE%\Desktop\mygame

– Invoke the generator:

yo phaser

– Run a local development server (livereload enabled) with this command:


– Package your game (i.e. minify css, html and js) with:

grunt dist

Link to Yeoman:

Link to Phaser generator:

There are also many other generators and secure projects for other game engines, you can look here:

Tags: ,

Leave a Reply

You must be logged in to post a comment.

[cache: storing page]