# 使用 Homebrew, Nix 安装 snitch

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

## 安装

```sh
sudo av install brew:snitch
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install snitch
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#snitch
```

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

## 软件包事实

- **软件包键:** brew:snitch
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/snitch>
- **版本:** 0.2.2
- **来源摘要:** Prettier way to inspect network connections
- **主页:** <https://github.com/karol-broda/snitch>
- **仓库:** <https://github.com/karol-broda/snitch>
- **许可证:** MIT
- **源码归档:** <https://github.com/karol-broda/snitch/archive/refs/tags/v0.2.2.tar.gz>
- **最后更新:** 2026-07-26T04:03:42+02:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- snitch (cli)
- snitch (别名)

## 构建依赖

- go

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.2.2
- 管理器更新时间: 2026-07-26
- 本地数据: OK
- 上游仓库: https://github.com/karol-broda/snitch
- 检测到的最新版本: v0.2.2 (当前)
## 项目历史与用法

snitch is a small terminal network-connection inspector that presents ss/netstat-style information through a friendlier TUI or formatted tables.

### 项目历史

The project appeared publicly on GitHub in 2025. Its README positions it as a human-friendly replacement or companion for classic socket-inspection commands, with interactive and one-shot modes rather than a daemon or capture engine.

### 采用历史

The official README documents installation through Homebrew, Go, nixpkgs, Nix flakes, Home Manager, the Arch AUR, shell installer, GitHub releases, and container images. That packaging breadth is notable for a young terminal utility and explains why it appears quickly in package-manager catalogs.

### 使用方式

Typical usage is launching `snitch` for a live TUI, or running `snitch ls` for a styled or plain table of current TCP/UDP connections. The README documents filters for listening, established, TCP, UDP, refresh intervals, search, sorting, process watching, and process killing.

### 为什么软件包爱好者会关心

snitch is package-nerd friendly because it modernizes a familiar Unix workflow without needing privileged packet capture: the Docker notes emphasize host network/PID namespace access and `/proc/net/*` rather than CAP_NET_ADMIN or CAP_NET_RAW. Its Nix and Home Manager support also makes it attractive to users who treat CLI tools as declarative environment components.

### 时间线

- 2025: Public GitHub repository created.
- 2025: README documents Homebrew and nixpkgs packaging along with Go, Nix flake, AUR, release binaries, and container installs.

### Related projects

- snitch is explicitly framed against `ss` and `netstat`, with a user experience closer to modern TUI system monitors.

### 来源

- GitHub REST repository metadata for karol-broda/snitch, accessed 2026-07-02.
- <https://github.com/karol-broda/snitch>
- <https://raw.githubusercontent.com/karol-broda/snitch/master/README.md>
- input.source_facts.package-manager


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.config/snitch/snitch.toml
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** snitch
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

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

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


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [somo](https://pkg.so/zh-hans/brew/somo/) - Shares pkgdb curated category or tags: cli, monitoring, netstat, networking.
- [tsui](https://pkg.so/zh-hans/brew/tsui/) - Shares pkgdb curated category or tags: cli, monitoring, networking, tui.
- [autossh](https://pkg.so/zh-hans/brew/autossh/) - Shares pkgdb curated category or tags: cli, monitoring, networking.
- [oha](https://pkg.so/zh-hans/brew/oha/) - Shares pkgdb curated category or tags: cli, networking, tui.
- [fping](https://pkg.so/zh-hans/brew/fping/) - Shares pkgdb curated category or tags: cli, monitoring, networking.
- [whosthere](https://pkg.so/zh-hans/brew/whosthere/) - Shares pkgdb curated category or tags: cli, networking, tui.
- [net-tools](https://pkg.so/zh-hans/brew/net-tools/) - Shares pkgdb curated category or tags: cli, netstat, networking.
- [cloudflare-speed-cli](https://pkg.so/zh-hans/brew/cloudflare-speed-cli/) - Shares pkgdb curated category or tags: cli, networking, tui.
- [rustnet](https://pkg.so/zh-hans/brew/rustnet/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, monitoring, network, networking, tui.
- [sniffer](https://pkg.so/zh-hans/brew/sniffer/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, monitoring, network, networking, tui.

## Combined YAML source

View the package source record on GitHub. [combined/snitch.yml](https://github.com/mxcl/pkgdb/blob/main/combined/snitch.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
