# 使用 npm 安装 ninja-runtime

查看 ninja-runtime 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install npm:ninja-runtime
```

其他安装命令:

### 便携式和语言管理器

- npm (100%):

```sh
npm install -g ninja-runtime
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:ninja-runtime
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/ninja-runtime>
- **版本:** 1.13.2
- **来源摘要:** Prebuilt Ninja binaries for macOS, Linux, and Windows
- **主页:** <https://github.com/holepunchto/ninja-runtime#readme>
- **仓库:** <https://github.com/holepunchto/ninja-runtime>
- **上游文档:** <https://github.com/holepunchto/ninja-runtime#readme>
- **许可证:** Apache-2.0
- **源码归档:** <https://registry.npmjs.org/ninja-runtime/-/ninja-runtime-1.13.2.tgz>
- **问题跟踪器:** <https://github.com/holepunchto/ninja-runtime/issues>
- **发布时间:** 2026-04-06T10:41:17.838Z
- **最后更新:** 2026-04-06T10:41:17.838Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- ninja (cli)

## 依赖

- bare-fs
- bare-os
- bare-path
- bare-subprocess

## 构建依赖

- cmake-bare
- cmake-fetch
- lunte
- prettier
- prettier-config-holepunch

## 安装行为

- post-install 钩子: 未定义
- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.13.2
- 管理器更新时间: 2026-04-06
- 本地数据: OK
- 上游仓库: https://github.com/holepunchto/ninja-runtime
- 信息: No cached GitHub release or tag data was available.

## 安全说明

没有找到 ninja-runtime 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 1.13.2
- **Version Count:** 5
- **Maintainers:** mafintosh
- **Author:** Holepunch
- **Publisher:** GitHub Actions
- **Optional Dependencies:** ninja-runtime-darwin-arm64, ninja-runtime-darwin-x64, ninja-runtime-linux-arm64, ninja-runtime-linux-x64, ninja-runtime-win32-arm64, ninja-runtime-win32-x64
- **Integrity:** sha512-HLUFoYSUPeKppVr2Ao7eZnTIwg+4U72cHUsBfSCTRddlTc9AgrcmjMYe9pOnQgNwuSuKdqDdXkE70GioBR2HkA==
- **Shasum:** f2b418ea23c78094c7c6cc6cd6763f813cb508e0
- **Unpacked Size:** 14,908
- **File Count:** 0
- **Created At:** 2024-10-16T12:58:46.420Z
- **Latest Published At:** 2026-04-06T10:41:17.838Z
- **Modified At:** 2026-04-06T11:09:12.409Z

## 其他软件包管理器记录

- MacPorts - ninja: installed executable or alias match | MacPorts ports tree: devel/ninja/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Nix - ninja: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/ni/ninja/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - ninja - 1.13.2-3: installed executable or alias match | Arch Linux sync databases: ninja from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Small build system with a focus on speed | https://ninja-build.org/
- zypper - ninja - 1.13.2-1.5: installed executable or alias match | openSUSE Tumbleweed package metadata: ninja from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A small build system closest in spirit to Make | https://ninja-build.org/
- Chocolatey - ninja: installed executable or alias match | Chocolatey community package catalog: ninja from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','netfx-4.7.1-devpack'
- Scoop - main/ninja: installed executable or alias match | Scoop official bucket manifest trees: bucket/ninja.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - Ninja-build.Ninja: installed executable or alias match | Windows Package Manager source index: Ninja-build.Ninja from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched curated package taxonomy and local package facts.
- [ninja](https://pkg.so/zh-hans/brew/ninja/) - Executable or command metadata overlaps with this package. Shared terms: build, cli, developer, developer-tools, ninja.
- [bare-pack](https://pkg.so/zh-hans/npm/bare-pack/) - Local package facts share a topical domain. Shared terms: bare, bare-fs, bare-path, cli, developer.
- [ember-primitives](https://pkg.so/zh-hans/npm/ember-primitives/) - Local metadata places this package in an adjacent workflow. Shared terms: build, build-tools, cli, developer, developer-tools.

## 来源

- pkg.so package database
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
