-
Notifications
You must be signed in to change notification settings - Fork 2.5k
macOS Development Environment
Mihai PLESA edited this page Apr 15, 2025
·
51 revisions
You will need the prerequisites below to build Brave on macOS 10.15+.
macOS SDK 15.4 is needed as per https://source.chromium.org/chromium/chromium/src/+/main:build/config/mac/mac_sdk.gni;l=50. This is bundled with Xcode 16.3 for example as per https://xcodereleases.com
There are additional details in the Chromium build system requirements at https://chromium.googlesource.com/chromium/src/+/lkgr/docs/mac_build_instructions.md#system-requirements (do not follow any of the instructions after system requirements):
- Node.js v20 -
brew install nvm
andnvm install v20 && nvm alias default v20 && nvm use default
- Make sure you have Spotlight fully off or privacy on for the build directory (or indexing will slow it down). System Preferences -> Spotlight -> Privacy
Internal developers can find more information on remote build execution here
Please refer to this document for information about setting up .env
build configuration.