CamouBrowser Docs

Building in CLI

Both browsers build on a Linux host only. The Windows and macOS binaries are cross-compiled from it.

Camoufox's build system is designed to be used in Linux. WSL will not work!

First, clone this repository with Git. The build lives in the browser folder:

git clone --depth 1 https://github.com/daijro/camoufox
cd camoufox/browser

Next, fetch Firefox, copy in Camoufox's additions and apply every patch with the following command:

make dir

After that, you have to bootstrap your system to be able to build Camoufox. You only have to do this one time. It installs the host packages (needs Python 3.11 or newer) and runs Mozilla's bootstrap:

make bootstrap

Finally you can build, run and package Camoufox:

make build                      # ./mach build
make run                        # run the build
make package-linux arch=x86_64  # or package-macos / package-windows

make help lists every target. Install ccache: builds use PGO and LTO, so even an incremental build relinks libxul.

To build and package several targets in one go:

python3 multibuild.py --target linux windows macos --arch x86_64 arm64
CLI Parameters
Flag Values
--target linux, windows, macos (one or more, required)
--arch x86_64, arm64, i686 (one or more, required; i686 builds Windows only)
--bootstrap Bootstrap the build system first
--clean Clean the build directory first
--preflight Check that each target builds without building it: configure, the export tiers, and every patched source file (minutes, not hours)

Build artifacts are written to browser/dist/.

© Copyright daijro 2026. All rights reserved.