ninja
« Back to VersTracker
Description:
Small build system for use with gyp or CMake
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: build-system c++ developer-tools performance compilation
Install: brew install ninja
About:
Ninja is a small build system designed to be as fast as possible. It reads build specifications from a 'ninja' file and runs the necessary commands to update out-of-date targets. Its primary value is speeding up incremental build times, especially in large projects.
Key Features:
  • Extremely fast incremental builds
  • Minimalistic design and surface area
  • Designed to be generated by higher-level build systems like CMake or Gyp
  • Cross-platform support
Use Cases:
  • Reducing build times for large C++ or C projects
  • Serving as the backend build system for CMake
  • Speeding up Android Open Source Project (AOSP) builds
Alternatives:
  • Make – Make is the standard but Ninja is designed to be significantly faster by avoiding makefile re-parsing and optimizing for parallelism.
  • CMake – CMake is a meta-build system that generates Ninja files; they work together rather than being direct competitors.
Version History
Detected Version Rev Change Commit
Sep 13, 2025 12:35pm 0 VERSION_BUMP 657f43e0
Sep 10, 2025 3:50am 0 VERSION_BUMP 68716170
Jan 3, 2025 1:15am 0 VERSION_BUMP 51af7e5e
Jan 2, 2025 7:07pm 0 VERSION_BUMP 6816ce2c
Sep 16, 2024 11:22pm 0 VERSION_BUMP 1fef94d0