...
Follow the directions on "Getting and building CockroachDB from source" or "Building from source on macOS" to get your development environment set up.
Note that you need a full installation of Xcode to build on macOS. (No, a command-line tools instance does not suffice.) If you’ve already installed a command-line tools instance as part of setting up Homebrew or other tools, switch to the full Xcode instance and accept the Xcode license agreement with:
Code Block | ||
---|---|---|
| ||
sudo xcode-select -s /Applications/Xcode.app && sudo xcodebuild -license accept |
(You may also have to start the Xcode application one time after installing or upgrading to initialize it. After this it does not need to be opened again.)
Getting started
Introduction to dev
...