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: The latest version of macOS.
Required Tools
Installation steps
- Install Deno:
# Using Homebrew (recommended)
brew install deno
# Or using curl:
curl -fsSL https://deno.land/install.sh | sh
- Clone the Floorp repository:
git clone https://github.com/Floorp-Projects/Floorp
cd Floorp
- Set up GitHub Token:
GITHUB_TOKEN is required to download artifacts from GitHub Actions.
Choose one of the following methods:
Option 1: Using .env file (recommended)
Create a .env file in the repository root and add:
GITHUB_TOKEN=your_token_here
Option 2: Using environment variable
export GITHUB_TOKEN=your_token_here
How to create a GitHub Token:
-
Click "Generate new token (classic)"
-
Select the
public_reposcope (orrepofor private repositories) -
Copy the generated token and set it as described above
-
Install dependencies:
deno install
- Build Floorp:
deno task feles-build dev
A browser will launch and automatically reload when you change the source code (using hot reload or HMR if supported), so you won't need to restart.
Congratulations! You have successfully built Floorp!