# 使用 npm 安装 nyc

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

## 安装

```sh
sudo av install npm:nyc
```

其他安装命令:

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

- npm (100%):

```sh
npm install -g nyc
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:nyc
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/nyc>
- **版本:** 18.0.0
- **来源摘要:** the Istanbul command line interface
- **主页:** <https://istanbul.js.org/>
- **仓库:** <https://github.com/istanbuljs/nyc>
- **上游文档:** <https://istanbul.js.org/>
- **许可证:** ISC
- **源码归档:** <https://registry.npmjs.org/nyc/-/nyc-18.0.0.tgz>
- **问题跟踪器:** <https://github.com/istanbuljs/nyc/issues>
- **发布时间:** 2026-02-22T21:23:17.002Z
- **最后更新:** 2026-02-22T21:23:17.002Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- nyc (cli)
- nyc (别名)

## 依赖

- @istanbuljs/load-nyc-config
- @istanbuljs/schema
- caching-transform
- convert-source-map
- decamelize
- find-cache-dir
- find-up
- foreground-child
- get-package-type
- glob
- istanbul-lib-coverage
- istanbul-lib-hook
- istanbul-lib-instrument
- istanbul-lib-processinfo
- istanbul-lib-report
- istanbul-lib-source-maps
- istanbul-reports
- make-dir
- node-preload
- p-map
- process-on-spawn
- resolve-from
- rimraf
- signal-exit
- spawn-wrap
- test-exclude
- yargs

## 构建依赖

- any-path
- is-windows
- requirejs
- source-map-support
- standard
- standard-version
- tap
- uuid
- which

## 安装行为

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

## 版本和新鲜度

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

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 18.0.0, Latest 12: 12.0.1, Next: 18.0.0
- **Version Count:** 166
- **Maintainers:** isaacs, bcoe, coreyfarrell
- **Author:** Ben Coe
- **Publisher:** bcoe
- **Engines:** Node: 20 || >=22
- **Integrity:** sha512-G5UyHinFkB1BxqGTrmZdB6uIYH0+v7ZnVssuflUDi+J+RhKWyAhRT1RCehBSI6jLFLuUUgFDyLt49mUtdO1XeQ==
- **Shasum:** 644c75c5cba4e8c571674016ac7f714fb143f20c
- **Unpacked Size:** 57,486
- **File Count:** 0
- **Created At:** 2015-05-09T04:34:33.490Z
- **Latest Published At:** 2026-02-22T21:23:17.002Z
- **Modified At:** 2026-02-25T04:02:38.783Z


## 相关链接

- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched curated package taxonomy and local package facts.
- [intern](https://pkg.so/zh-hans/npm/intern/) - Local package facts share a topical domain. Shared terms: cli, coverage, developer, developer-tools, glob.
- [c8](https://pkg.so/zh-hans/npm/c8/) - Local package facts share a topical domain. Shared terms: child, cli, coverage, developer, developer-tools.
- [tsimp](https://pkg.so/zh-hans/npm/tsimp/) - Both packages touch the same language runtime or ecosystem. Shared terms: child, cli, developer, developer-tools, exit.

## 来源

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