Ensure you have Visual Studio with the "Desktop development with C++" workload installed.
After having everything set up, you need to clone the Zen Browser repository to your local machine. This will create a local copy of the project that you can work on.
--depth 10: This makes sure you dont download the entire git history, it would take a long time otherwise due to that we used to store compiled binaries on the repository.
To set up the browser, you need to download additional files and prepare the environment:
npm run init
This command handles all the necessary bootstrapping tasks, such as setting up configuration files and downloading essential resources. The process may take some time, and there may be periods of time where it appears inactive — but rest assured, the commands are running in the background.
Before building the browser, it’s recommended to update the American English language packs to ensure that all localization files are up-to-date:
python3 ./scripts/update_en_US_packs.py
This script updates the "en-US" localization files, which are necessary for proper language support in Zen Browser. Running this step ensures that your build includes the latest translations and language resources.