# 安装 hatch

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

## 安装

```sh
sudo av install brew:hatch
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install hatch
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install hatch
```

  证据: MacPorts ports tree: python/hatch/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add hatch
```

  证据: Alpine Linux edge package indexes: hatch from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install hatch
```

  证据: Fedora Rawhide package metadata: hatch from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#hatch
```

  证据: nixpkgs package indexes: pkgs/by-name/ha/hatch/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- Scoop (92%):

```sh
scoop install main/hatch
```

  证据: Scoop official bucket manifest trees: bucket/hatch.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id PyPA.Hatch -e
```

  证据: Windows Package Manager source index: PyPA.Hatch from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:hatch
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/hatch>
- **版本:** 1.16.5
- **来源摘要:** Modern, extensible Python project management
- **主页:** <https://hatch.pypa.io/latest/>
- **上游文档:** <https://hatch.pypa.io/latest/>
- **许可证:** MIT
- **源码归档:** <https://files.pythonhosted.org/packages/d2/02/ce9c4c439fa3f195b21b4b5bb18b44d1076297c86477ef7e3d2de6064ec3/hatch-1.16.5.tar.gz>
- **更新:** 2026-05-21T12:12:36Z
- **生成来源:** 2026-05-26T17:25:59+00:00

## 可执行文件

- hatch (cli)
- hatch (别名)

## 依赖

- certifi
- cryptography
- python@3.14
- uv

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 新鲜度

- 页面生成时间: 2026-05-26
- 管理器版本: 1.16.5
- 管理器更新时间: 2026-05-21
- 本地数据: ok
- 上游仓库: https://hatch.pypa.io/latest/
- info: Release/tag comparison is only available for GitHub repositories.

## 安全说明

no executable entrypoint in the package index.

- **Geiger 风险:** green / low
- no executable entrypoint in the package index

## 相关链接

- [python@3.14](https://www.automicvault.com/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [uv](https://www.automicvault.com/pkg/brew/uv/) - Runtime dependency declared by Homebrew.
- [certifi](https://www.automicvault.com/pkg/brew/certifi/) - Runtime dependency declared by Homebrew.
- [cryptography](https://www.automicvault.com/pkg/brew/cryptography/) - Runtime dependency declared by Homebrew.

## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
