# 使用 npm 安装 node-gyp

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

## 安装

```sh
sudo av install npm:node-gyp
```

其他安装命令:

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

- npm (100%):

```sh
npm install -g node-gyp
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:node-gyp
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/node-gyp>
- **版本:** 13.0.0
- **来源摘要:** Node.js native addon build tool
- **主页:** <https://github.com/nodejs/node-gyp#readme>
- **仓库:** <https://github.com/nodejs/node-gyp>
- **上游文档:** <https://github.com/nodejs/node-gyp#readme>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/node-gyp/-/node-gyp-13.0.0.tgz>
- **问题跟踪器:** <https://github.com/nodejs/node-gyp/issues>
- **发布时间:** 2026-06-12T12:46:35.421Z
- **最后更新:** 2026-06-12T12:46:35.421Z
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- node-gyp (cli)

## 依赖

- env-paths
- exponential-backoff
- graceful-fs
- nopt
- proc-log
- semver
- tar
- tinyglobby
- undici
- which

## 构建依赖

- @commitlint/cli
- @commitlint/config-conventional
- bindings
- cross-env
- eslint
- mocha
- nan
- neostandard
- require-inject

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 13.0.0
- 管理器更新时间: 2026-06-12
- 本地数据: OK
- 上游仓库: https://github.com/nodejs/node-gyp
- 信息: No cached GitHub release or tag data was available.

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 13.0.0
- **Version Count:** 161
- **Maintainers:** lukekarrys, rvagg, nodejs-foundation
- **Author:** Nathan Rajlich
- **Publisher:** GitHub Actions
- **Engines:** Node: ^22.22.2 || ^24.15.0 || >=26.0.0
- **Integrity:** sha512-FYYyBDWdc+kzoyPd5PqHUgM9DGs1C/Z4jxBZAOnA2GRUVXPivKRREq5q+VVPXVr9aGVqGMaMqyFHbviy/yb7Hg==
- **Shasum:** c4265537249cd749cc57cb1d1215c12f4d10b40a
- **Unpacked Size:** 1,878,708
- **File Count:** 0
- **Created At:** 2012-02-05T19:47:50.427Z
- **Latest Published At:** 2026-06-12T12:46:35.421Z
- **Modified At:** 2026-06-12T12:46:35.742Z

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

- Debian apt - node-gyp - 11.1.0+~5.0.0-1: normalized package name match | Debian stable package indexes: node-gyp from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Native addon build tool for Node.js | https://github.com/nodejs/node-gyp
- Nix - node-gyp: normalized package name match | nixpkgs package indexes: pkgs/by-name/no/node-gyp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - node-gyp - 9.3.0-3: normalized package name match | Ubuntu 24.04 LTS package indexes: node-gyp from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Native addon build tool for Node.js | https://github.com/nodejs/node-gyp
- pacman - node-gyp - 12.4.0-1: normalized package name match | Arch Linux sync databases: node-gyp from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Node.js native addon build tool | https://github.com/nodejs/node-gyp


## 相关链接

- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched curated package taxonomy and local package facts.
- [node-ninja](https://www.automicvault.com/zh-hans/pkg/npm/node-ninja/) - Both packages touch the same language runtime or ecosystem. Shared terms: addon, bindings, build, graceful, graceful-fs.
- [nw-gyp](https://www.automicvault.com/zh-hans/pkg/npm/nw-gyp/) - Both packages touch the same language runtime or ecosystem. Shared terms: addon, bindings, build, graceful, graceful-fs.
- [cmake-js](https://www.automicvault.com/zh-hans/pkg/npm/cmake-js/) - Both packages touch the same language runtime or ecosystem. Shared terms: addon, bindings, build, module, native.

## 来源

- Nucleus package database
- package-page enrichment
- package version freshness
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
