- Clone the gecko-dev (git version of mozilla-central) repository. It is quite large so only clone the latest 100 revisions:
$ git clone --depth=100 https://github.com/mozilla/gecko-dev
$ cd gecko-dev
- Install dependencies needed to build Firefox:
$ ./mach bootstrap
- Create a file called
mozconfig
with the following contents: