

Git clone /ninja-build/ninja.git cd ninja. If installing directly from GitHub use the following commands: Install ninja-build from github or using a package manager such as brew.For example when using zsh add the line below to ~/.zshenv when using bash add the line to ~/.bashrc.Įxport PATH=/Applications/CMake.app/Contents/bin:$PATH Make sure to update the PATH variable to include the CMake location. Follow the instructions here ( Installing | CMake) to copy and install the latest CMake. Use xcode-select to install the compiler tools:

Download the latest version of XCode from the App Store ( Xcode on the App Store ()), or an older version through the Apple Developer page.

