# 使用 npm 安装 openapi-diff

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

## 安装

```sh
sudo av install npm:openapi-diff
```

其他安装命令:

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

- npm (100%):

```sh
npm install -g openapi-diff
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:openapi-diff
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/openapi-diff>
- **版本:** 0.24.1
- **来源摘要:** A CLI tool to identify differences between Swagger/OpenAPI specs.
- **主页:** <https://bitbucket.org/atlassian/openapi-diff>
- **仓库:** ssh://git@bitbucket.org/atlassian/openapi-diff
- **上游文档:** <https://bitbucket.org/atlassian/openapi-diff>
- **许可证:** Apache-2.0
- **源码归档:** <https://registry.npmjs.org/openapi-diff/-/openapi-diff-0.24.1.tgz>
- **问题跟踪器:** <https://bitbucket.org/atlassian/openapi-diff/issues>
- **发布时间:** 2025-08-06T18:36:51.992Z
- **最后更新:** 2025-08-06T18:36:51.992Z
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- openapi-diff (cli)

## 依赖

- axios
- commander
- js-yaml
- json-schema-diff
- jsonpointer
- lodash
- openapi3-ts
- swagger-parser
- verror

## 构建依赖

- @commitlint/cli
- @commitlint/config-conventional
- @types/express
- @types/jasmine
- @types/js-yaml
- @types/lodash
- @types/node
- @types/request
- @types/swagger-schema-official
- @types/verror
- ansi-colors
- del
- envsub
- express
- gulp
- gulp-clean
- gulp-filter
- gulp-git
- gulp-jasmine
- gulp-tslint
- gulp-typescript
- jasmine
- json-schema-spec-types
- minimist
- openapi-types
- tslint
- typescript

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 0.24.1
- 管理器更新时间: 2025-08-06
- 本地数据: OK
- 上游仓库: https://bitbucket.org/atlassian/openapi-diff
- notice: The package-manager record has not changed recently.
- 信息: Release/tag comparison is only available for GitHub repositories.

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 0.24.1
- **Version Count:** 38
- **Maintainers:** bsayers, kwelch, nsanta26, muellerfabian, samdistler
- **Author:** Mauri Edo
- **Publisher:** kwelch
- **Engines:** Node: >=18
- **Integrity:** sha512-6DE6XIDm9PunxtZ9BS1hU9WPnupv2SMqjzBpcNyhKwOYUsPJFErjNPZXA66W0nVDYzxGNtvaPF+QbJOhx8eBeQ==
- **Shasum:** 860981f418894faf2aa21b6e3ea586d42777de7e
- **Unpacked Size:** 116,461
- **File Count:** 0
- **Created At:** 2017-06-22T05:44:14.119Z
- **Latest Published At:** 2025-08-06T18:36:51.992Z
- **Modified At:** 2025-08-06T18:42:30.075Z

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

- pacman - openapi-diff - 2.1.7-1: normalized package name match | Arch Linux sync databases: openapi-diff from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Utility for comparing two OpenAPI specifications | https://github.com/OpenAPITools/openapi-diff


## 相关链接

- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched curated package taxonomy and local package facts.
- [openapi-to-postmanv2](https://www.automicvault.com/zh-hans/pkg/npm/openapi-to-postmanv2/) - Both packages work with overlapping file formats or content types. Shared terms: api, api-specifications, cli, commander, data.
- [openapi-typescript-codegen](https://www.automicvault.com/zh-hans/pkg/npm/openapi-typescript-codegen/) - Both packages work with overlapping file formats or content types. Shared terms: api, api-specifications, axios, cli, commander.
- [openapi-diff](https://www.automicvault.com/zh-hans/pkg/brew/openapi-diff/) - Same normalized package name appears in another local ecosystem. Shared terms: api, cli, diff, openapi, openapi-diff.
- [openapi-diff](https://www.automicvault.com/zh-hans/pkg/brew/openapi-diff/) - Same normalized package name exists in another local package ecosystem.

## 来源

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