# ninja をインストール

ninja のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:ninja
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install ninja
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ninja
```

  証拠: MacPorts ports tree: devel/ninja/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#ninja
```

  証拠: nixpkgs package indexes: pkgs/by-name/ni/ninja/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S ninja
```

  証拠: Arch Linux sync databases: ninja from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install ninja
```

  証拠: openSUSE Tumbleweed package metadata: ninja from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install ninja
```

  証拠: Chocolatey community package catalog: ninja from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','ngrok.portable'

- Scoop (92%):

```sh
scoop install main/ninja
```

  証拠: Scoop official bucket manifest trees: bucket/ninja.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id Ninja-build.Ninja -e
```

  証拠: Windows Package Manager source index: Ninja-build.Ninja from https://cdn.winget.microsoft.com/cache/source.msix

## パッケージ情報

- **パッケージキー:** brew:ninja
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/ninja>
- **バージョン:** 1.13.2
- **ソース概要:** Small build system for use with gyp or CMake
- **ホームページ:** <https://ninja-build.org/>
- **リポジトリ:** <https://github.com/ninja-build/ninja>
- **上流ドキュメント:** <https://ninja-build.org/>
- **ライセンス:** Apache-2.0
- **ソースアーカイブ:** <https://github.com/ninja-build/ninja/archive/refs/tags/v1.13.2.tar.gz>
- **更新:** 2026-03-20T18:55:30Z
- **生成ソース:** 2026-05-26T17:25:59+00:00

## 実行可能ファイル

- ninja (cli)
- ninja (エイリアス)

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sequoia, sonoma, tahoe, x86_64_linux

## 鮮度

- ページ生成日: 2026-05-26
- マネージャ版: 1.13.2
- マネージャ更新日: 2026-03-20
- ローカルデータ: ok
- 上流リポジトリ: https://github.com/ninja-build/ninja
- 検出された最新: v1.13.2 (current)

## セキュリティノート

build system capable of executing project logic.

- **Geiger リスク:** yellow / high
- build system capable of executing project logic

## 関連リンク

- [meson](https://www.automicvault.com/pkg/brew/meson/) - Popular package that depends on this formula.
- [vcpkg](https://www.automicvault.com/pkg/brew/vcpkg/) - Popular package that depends on this formula.
- [litani](https://www.automicvault.com/pkg/brew/litani/) - Popular package that depends on this formula.
- [muon](https://www.automicvault.com/pkg/brew/muon/) - Popular package that depends on this formula.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/)

## ソース

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
