Helps you initialize a new Firefox OS Application. This is perfect if you are starting a brand new project.
This task will go through the steps of creating your application directory, generating a .webapp manifest file, and setting up other necessary files.

First time developing for Firefox OS or learning? Love experimenting with new APIs? This is for you!
An expanding list of application templates to help you quickly get started!
This task will download the selected example and will even deploy it for you.
You can also create your own templates and contribute back to the project.

If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:

npm install grunt-fxos --save-dev

Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:

grunt.loadNpmTasks('grunt-fxos');

Now in your terminal run:

grunt fxos

Make sure you get >> All required tools available! after you run this command.