この翻訳は不完全です。英語から この記事を翻訳 してください。

Getting Started

You must have a checkout of Firefox that you can build and run. 詳細についてはsimple build instructionsmore detailed instructionsをご覧下さい。

You will also need an installation of NodeJS, and Git. GCLI can run under Node, and it also uses Node to build its output for Firefox.

Getting GCLI

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.

$ export FIREFOX_HOME=`pwd`

Getting and running GCLI looks like this:

$ git clone 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.


 このページの貢献者: lv7777
 最終更新者: lv7777,