# 安装 snap

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

## 安装

```sh
sudo av install brew:snap
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install snap
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install snap
```

  证据: Debian stable package indexes: snap from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## 软件包事实

- **软件包键:** brew:snap
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/snap>
- **版本:** 2.75.2
- **来源摘要:** Tool to work with .snap files
- **主页:** <https://snapcraft.io/>
- **仓库:** <https://github.com/canonical/snapd>
- **上游文档:** <https://snapcraft.io/>
- **许可证:** GPL-3.0-only
- **源码归档:** <https://github.com/canonical/snapd/releases/download/2.75.2/snapd_2.75.2.vendor.tar.xz>
- **更新:** 2026-04-16T13:02:53Z
- **生成来源:** 2026-05-26T22:45:13+00:00

## 可执行文件

- snap (cli)
- snap (别名)

## 依赖

- squashfs

## 构建依赖

- go

## 安装行为

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

## 新鲜度

- 页面生成时间: 2026-05-26
- 管理器版本: 2.75.2
- 管理器更新时间: 2026-04-16
- 本地数据: ok
- 上游仓库: https://github.com/canonical/snapd
- info: No cached GitHub release or tag data was available.

## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** green / low
- narrow executable package without higher-risk signals

## 相关链接

- [squashfs](https://www.automicvault.com/pkg/brew/squashfs/) - Runtime dependency declared by Homebrew.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [snapcraft](https://www.automicvault.com/pkg/brew/snapcraft/) - Popular package that depends on this formula.
- [snap7](https://www.automicvault.com/pkg/brew/snap7/) - Package name indicates the same formula family.

## 来源

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