Automic VaultAutomic Vault

brew

ninja mit Homebrew, chocolatey, MacPorts, Nix, pacman, zypper, scoop, winget installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für ninja in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install ninja

local Homebrew formula metadata

MacPortsverifiziert · 94%
sudo port install ninja

MacPorts ports tree · devel/ninja/Portfile · Quelle: api.github.com

Linux

Nixverifiziert · 92%
nix profile install nixpkgs#ninja

nixpkgs package indexes · pkgs/by-name/ni/ninja/package.nix · Quelle: api.github.com

Arch Linux pacmanverifiziert · 92%
sudo pacman -S ninja

Arch Linux sync databases · ninja · Quelle: geo.mirror.pkgbuild.com

openSUSE zypperverifiziert · 92%
sudo zypper install ninja

openSUSE Tumbleweed package metadata · ninja · Quelle: download.opensuse.org

Windows

Chocolateyverifiziert · 92%
choco install ninja

Chocolatey community package catalog · ninja · Quelle: community.chocolatey.org

Scoopverifiziert · 92%
scoop install main/ninja

Scoop official bucket manifest trees · bucket/ninja.json · Quelle: api.github.com

Windows Package Managerverifiziert · 92%
winget install --id Ninja-build.Ninja -e

Windows Package Manager source index · Ninja-build.Ninja · Quelle: cdn.winget.microsoft.com

Überblick

Paketzusammenfassung

Small build system for use with gyp or CMake

Verlauf

Projektgeschichte und Nutzung

Ninja is a small, low-level build system optimized for fast incremental builds. Its central idea is deliberately narrow: higher-level tools such as GN, GYP, CMake, Meson, or custom generators decide the project model, and Ninja executes the already-lowered build graph quickly.

Projektgeschichte

Evan Martin wrote Ninja while working on Google Chrome. In his Performance of Open Source Software chapter, he says he started Ninja in 2010 as an experiment to make Chrome builds faster, especially the front of the build where the tool loads build files and starts the first compile. This led to the design that made `.ninja` files simple, generated, and quick to parse.

The project became public and then broadened beyond Chrome. The same history says Ninja gradually replaced other build systems used by Chrome, CMake gained a Ninja generator, and projects such as LLVM and ReactOS used it through CMake. The Ninja homepage later summarized the tool as an assembler-like build system used by Google Chrome, parts of Android, LLVM, and many CMake-backed projects.

Adoptionsgeschichte

Ninja's adoption is unusually strong for such a small tool because it sits at the bottom of many developer workflows. Developers may never hand-write `build.ninja`, but they install Ninja because CMake, Meson, GN, or language build systems generate it and expect a fast executor.

On 2026-07-01, Homebrew listed Ninja 1.13.2 with 545,459 installs over 365 days and 352,367 installs-on-request. That install volume is a package-manager reflection of Ninja's role as a build substrate rather than a tool people necessarily think about directly.

Wie es verwendet wird

The normal package-nerd workflow is `cmake -G Ninja -S . -B build` or a Meson/GN equivalent, followed by `ninja -C build`. By default, `ninja` looks for `build.ninja` in the current directory and builds all out-of-date targets; flags such as `-C` and `-j` intentionally resemble Make, although Ninja already runs jobs in parallel by default.

Ninja build files are plain text and debuggable, but the project explicitly does not optimize for hand authoring. This makes the package easy to reason about in dependency graphs: if a formula or language package depends on Ninja, it usually means some higher-level generator will emit the actual build plan.

Warum Paket-Nerds sich dafür interessieren

Ninja is one of the canonical examples of doing less and winning: no general-purpose project language, no rich conditionals, no policy layer, just a fast executor. Its package significance is huge because it became the common backend for CMake/Meson/GN-era native builds across macOS, Linux, Windows, and cross-platform CI.

Zeitleiste

  • {'date': '2010', 'event': 'Evan Martin started Ninja while working on Google Chrome.'}
  • {'date': '2010s', 'event': 'Ninja spread from Chrome to CMake-backed projects including LLVM and ReactOS.'}
  • {'date': '2025-07-10', 'event': 'Ninja homepage listed v1.13.1 as released.'}
  • {'date': '2026-07-01', 'event': 'Homebrew formula listed stable Ninja 1.13.2.'}

Related projects

  • CMake
  • GN
  • GYP
  • Meson
  • LLVM
  • Chromium

Sicherheitslage

Risikostufe: yellow

build system capable of executing project logic.

Risikoklassifikator

yellow Risiko · hoch Konfidenz · runtime

Warum

  • build system capable of executing project logic

Signale

  • override:ninja

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 8 Plattformziele verfügbar.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
ninjacliglobales Executable

Aktualität

Version und Aktualität

Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.

Seite generiert2026-07-10
Manager-Version1.13.2
Manager aktualisiert
lokale DatenOK
Upstreamaktuell
neueste erkannte Versionv1.13.2

https://github.com/ninja-build/ninja

  • InfoNo package-manager update timestamp was available.niedrig Konfidenz

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:ninja
Version1.13.2
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/ninja
Homepagehttps://ninja-build.org/
Repositoryhttps://github.com/ninja-build/ninja
Upstream-Dokumentationhttps://ninja-build.org/manual
LizenzApache-2.0
Quellarchivhttps://github.com/ninja-build/ninja/archive/refs/tags/v1.13.2.tar.gz
Bottleverfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sequoia, sonoma, tahoe, x86_64_linux)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameninja
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Nix95%

ninja

nix profile install nixpkgs#ninja
  • normalized package name match
  • Abgeglichen nach: Ninja
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ni/ninja/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
pacman95%

ninja 1.13.2-3

Small build system with a focus on speed

https://ninja-build.org/

sudo pacman -S ninja
  • License: Apache-2.0
  • Architecture: x86_64
  • 3 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Ninja
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: ninja from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

ninja 1.13.2-1.3

A small build system closest in spirit to Make

https://ninja-build.org/

sudo zypper install ninja
  • License: Apache-2.0
  • Category: Development/Tools/Building
  • Architecture: x86_64
  • Source Package: ninja
  • 3 Abhängigkeiten
  • 2 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Ninja
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: ninja from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

ninja

sudo port install ninja
  • normalized package name match
  • Abgeglichen nach: Ninja
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/ninja/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

ninja

choco install ninja
  • normalized package name match
  • Abgeglichen nach: Ninja
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: ninja from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','nexus-repository'
Scoop95%

main/ninja

scoop install main/ninja
  • normalized package name match
  • Abgeglichen nach: Ninja
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/ninja.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

Ninja-build.Ninja

winget install --id Ninja-build.Ninja -e
  • normalized package name match
  • Abgeglichen nach: Ninja
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Ninja-build.Ninja from https://cdn.winget.microsoft.com/cache/source.msix

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment