Skip to main content

Building Floorp on macOS

danger

We cannot provide support if a build fails. Please understand this before proceeding with the following steps.

Requirements

Machine Specifications

  • Memory: Minimum 4GB RAM, 8GB+ recommended.
  • Disk Space: At least 40GB of free disk space.
  • Operating System: It's recommended to use the latest version of macOS. You should update to the latest version of macOS.

Required Tools

  • Brew
    Firefox requires some dependencies, which can be installed using Brew.
  • git
    Git is a version control system used to download the Floorp & Firefox source code.
  • Xcode
    Xcode is a development environment for macOS. It is used to build Floorp on macOS.

You need to set up your environment before building Floorp:

sudo xcode-select --switch /Applications/Xcode.app
sudo xcodebuild -license

Building Floorp

  1. Open your macOS Terminal.

  2. Clone the Floorp repository.

git clone https://github.com/Floorp-Projects/Floorp.git
git submodule update --init --recursive
  1. Run the following command to install the dependencies. Before building Floorp, you need to select a build option. Please choose the following:

[1] Build Floorp for Desktop.

The other choices are not supported yet. The next selection depends on your choice.

cd Floorp
./mach bootstrap
  1. Run the following command to build Floorp.
// Create mozconfig
echo 'ac_add_options --with-branding=browser/branding/official' >> mozconfig
echo 'ac_add_options --with-app-basename=Floorp' >> mozconfig
echo 'ac_add_options --with-app-name=floorp' >> mozconfig
echo "ac_add_options --enable-bootstrap" >> mozconfig

// build Floorp
./mach configure
./mach build
  1. Run the following command to run Floorp.
./mach run