# 使用 npm 安装 patch-package

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

## 安装

```sh
sudo av install npm:patch-package
```

其他安装命令:

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

- npm (100%):

```sh
npm install -g patch-package
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:patch-package
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/patch-package>
- **版本:** 8.0.1
- **来源摘要:** Fix broken node modules with no fuss
- **主页:** <https://github.com/ds300/patch-package#readme>
- **仓库:** <https://github.com/ds300/patch-package>
- **上游文档:** <https://github.com/ds300/patch-package#readme>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/patch-package/-/patch-package-8.0.1.tgz>
- **问题跟踪器:** <https://github.com/ds300/patch-package/issues>
- **发布时间:** 2025-09-29T16:25:23.430Z
- **最后更新:** 2025-09-29T16:25:23.430Z
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- patch-package (cli)

## 依赖

- @yarnpkg/lockfile
- chalk
- ci-info
- cross-spawn
- find-yarn-workspace-root
- fs-extra
- json-stable-stringify
- klaw-sync
- minimist
- open
- semver
- slash
- tmp
- yaml

## 构建依赖

- @types/app-root-path
- @types/cross-spawn
- @types/fs-extra
- @types/jest
- @types/json-stable-stringify
- @types/minimist
- @types/node
- @types/rimraf
- @types/semver
- @types/tmp
- husky
- jest
- lint-staged
- prettier
- randomstring
- rimraf
- ts-jest
- ts-node
- tslint
- typescript

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 8.0.1
- 管理器更新时间: 2025-09-29
- 本地数据: OK
- 上游仓库: https://github.com/ds300/patch-package
- notice: The package-manager record has not changed recently.
- 信息: No cached GitHub release or tag data was available.

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Beta: 6.1.0-0, Canary: 8.1.0-canary.1, Latest: 8.0.1
- **Version Count:** 98
- **Maintainers:** ds300
- **Author:** David Sheldrick
- **Publisher:** ds300
- **Engines:** Node: >=14, npm: >5
- **Integrity:** sha512-VsKRIA8f5uqHQ7NGhwIna6Bx6D9s/1iXlA1hthBVBEbkq+t4kXD0HHt+rJhf/Z+Ci0F/HCB2hvn0qLdLG+Qxlw==
- **Shasum:** 79d02f953f711e06d1f8949c8a13e5d3d7ba1a60
- **Unpacked Size:** 413,012
- **File Count:** 0
- **Created At:** 2017-05-08T20:32:41.782Z
- **Latest Published At:** 2025-09-29T16:25:23.430Z
- **Modified At:** 2025-09-29T16:25:23.654Z

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

- Nix - patch-package: normalized package name match | nixpkgs package indexes: pkgs/by-name/pa/patch-package/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 相关链接

- [Web development packages](https://www.automicvault.com/zh-hans/pkg/web-dev-tools/) - Matched curated package taxonomy and local package facts.
- [patch-package](https://www.automicvault.com/zh-hans/pkg/brew/patch-package/) - Same normalized package name appears in another local ecosystem. Shared terms: broken, cli, developer, developer-tools, fix.
- [turbowatch](https://www.automicvault.com/zh-hans/pkg/npm/turbowatch/) - Both packages touch the same language runtime or ecosystem. Shared terms: chalk, cli, developer, developer-tools, find.
- [installed-check](https://www.automicvault.com/zh-hans/pkg/npm/installed-check/) - Both packages work with overlapping file formats or content types. Shared terms: chalk, cli, developer, developer-tools, json.
- [patch-package](https://www.automicvault.com/zh-hans/pkg/brew/patch-package/) - 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
