-
Notifications
You must be signed in to change notification settings - Fork 2.6k
macOS Development Environment
You will need the prerequisites below to build Brave on macOS 10.15+ and 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
):
-
macOS SDK 15.4, 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.
-
Git version 2.41 or higher.
-
Node.js v20 -
brew install nvm
andnvm install v20 && nvm alias default v20 && nvm use default
. In general, the Brave development environment expects and supports only the LTS version of Node.js.
- Make sure to disable Spotlight completely or enable privacy for the build directory (see
System Preferences -> Spotlight -> Privacy
); otherwise, excessive indexing will slow the build.
Developers who work at Brave can find more information on remote build execution here
Please refer to this document for information about configuring your .env
for building Brave.