# 使用 npm 安装 husky

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

## 安装

```sh
sudo av install npm:husky
```

其他安装命令:

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

- npm (100%):

```sh
npm install -g husky
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:husky
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/husky>
- **版本:** 9.1.7
- **来源摘要:** Modern native Git hooks
- **主页:** <https://github.com/typicode/husky#readme>
- **仓库:** <https://github.com/typicode/husky>
- **上游文档:** <https://github.com/typicode/husky#readme>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/husky/-/husky-9.1.7.tgz>
- **问题跟踪器:** <https://github.com/typicode/husky/issues>
- **发布时间:** 2024-11-18T15:28:26.026Z
- **最后更新:** 2024-11-18T15:28:26.026Z
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- husky (cli)
- husky (别名)

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 9.1.7
- 管理器更新时间: 2024-11-18
- 本地数据: OK
- 上游仓库: https://github.com/typicode/husky
- 警告: The package-manager record has not been updated in over a year.
- 信息: No cached GitHub release or tag data was available.

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 9.1.7
- **Version Count:** 215
- **Maintainers:** typicode
- **Author:** typicode
- **Publisher:** typicode
- **Engines:** Node: >=18
- **Funding:** <https://github.com/sponsors/typicode>
- **Integrity:** sha512-5gs5ytaNjBrh5Ow3zrvdUUY+0VxIuWVL4i9irt6friV+BqdCfmV11CQTWMiBYWHbXhco+J1kHfTOUkePhCDvMA==
- **Shasum:** d46a38035d101b46a70456a850ff4201344c0b2d
- **Unpacked Size:** 4,041
- **File Count:** 0
- **Created At:** 2014-06-09T01:32:44.741Z
- **Latest Published At:** 2024-11-18T15:28:26.026Z
- **Modified At:** 2025-01-11T17:19:02.945Z

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

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


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Matched curated package taxonomy and local package facts.
- [bun-git-hooks](https://www.automicvault.com/zh-hans/pkg/npm/bun-git-hooks/) - Local package facts share a topical domain. Shared terms: commit, git, hooks, modern, pre.
- [gitleaks-secret-scanner](https://www.automicvault.com/zh-hans/pkg/npm/gitleaks-secret-scanner/) - Local package facts share a topical domain. Shared terms: commit, git, hooks, pre, pre-commit.
- [husky-init](https://www.automicvault.com/zh-hans/pkg/npm/husky-init/) - Package names and metadata indicate a similar tool family. Shared terms: commit, git, hooks, husky, pre.

## 来源

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