Command-line tool
ninja
brew/ninja
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Small build system for use with gyp or CMake
At a glance
- Type
- Command-line tool
- Install on
- Windows, macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
Windows
winget install --id Ninja-build.Ninja -e scoop install ninja-kitware scoop install ninja
macOS
brew install ninja
Linux
brew install ninja
Build in the current directory
ninja
Build in the current directory, executing 4 [j]obs at a time in parallel
ninja -j 4
Build a program in a given directory
ninja -C path/to/directory
Related command-line tools
- CMake
Family of tools to build, test and package software - cmake
Cross-platform make cross-platform foss compiler - cmkr
Modern build system based on CMake and TOML. - vcpkg
C++ Library Manager - RosBE
RosBE (Windows package; no description in the winget index) development gcc cmake mingw clang llvm bootstrapper… - meson
Fast and user friendly build system foss open-source build-system meson ninja - samurai
Ninja-compatible build tool written in C - cmake-language-server
Language Server for CMake
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents