Skip to content

Pre built Ninja packages

gogo94210 edited this page Jan 13, 2025 · 16 revisions

Official releases of binaries for Linux, Mac, and Windows can be found on the releases page.

Package managers

Warning: depending on the source, the binary releases from package managers may be out of date.

Linux

pacman -S ninja
  • Debian/Ubuntu:
apt-get install ninja-build
  • Fedora:
dnf install ninja-build
  • Gentoo:
emerge dev-util/ninja
  • Opensuse:
zypper in ninja
  • Alpine:
apk add ninja
  • Void:
xbps-install -S ninja

Mac

brew install ninja
port install ninja

FreeBSD

pkg install ninja

Windows

winget install Ninja-build.Ninja
choco install ninja
scoop install ninja

User-Level Package Managers

conda install -c conda-forge ninja
python -m pip install ninja
spack install ninja