GCLI is stored in git. There are two repositories of note. Most of the up-to-date development happens in joewalker's repo; when changes have landed in mozilla-central, then they also appear in the mozilla fork.
The GCLI build step alters your checkout of mozilla-central, so it needs the FIREFOX_HOME environment variable to point at the right directory.
$ cd <WHEREVER-YOUR-FIREFOX-IS-STORED> $ export FIREFOX_HOME=`pwd`
Getting and running GCLI looks like this:
$ git clone git://github.com/joewalker/gcli.git $ cd gcli $ node gcli.js Serving GCLI to http://localhost:9999/ This is also a limited GCLI prompt. Type 'help' for a list of commands, CTRL+C twice to exit: »
The easiest way to build GCLI into an installation of firefox is like this:
$ node gcli.js firefox
This assumes that you have setup the $FIREFOX_HOME environment variable as specified earlier. Alternatively you can do this:
$ node gcli.js firefox /path/to/mozilla-central
Now you can make changes to the GCLI source, test it in a web browser, and export a gcli.jsm package to run in Firefox.