ninja

A Build system designed to be fast. More information: <https://ninja-build.org/manual.html>.

Install

All systems
curl cmd.cat/ninja.sh
Debian Debian
apt-get install ninja
Ubuntu
apt-get install ninja
Alpine
apk add ninja
Arch Arch Linux
pacman -S ninja
image/svg+xml Kali Linux
apt-get install ninja-build
Fedora
dnf install ninja-build
Windows (WSL2)
sudo apt-get update sudo apt-get install ninja
OS X
brew install ninja
Raspbian
apt-get install ninja
Docker
docker run cmd.cat/ninja ninja powered by Commando

A Build system designed to be fast. More information: <https://ninja-build.org/manual.html>.

  • Build in the current directory:
    ninja
  • Build in the current directory, executing 4 jobs at a time in parallel:
    ninja -j 4
  • Build a program in a given directory:
    ninja -C path/to/directory
  • Show targets (e.g. `install` and `uninstall`):
    ninja -t targets
  • Display help:
    ninja -h

© tl;dr; authors and contributors