# 使用 Homebrew, MacPorts, Nix, pacman, scoop 安装 sniffnet

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

## 安装

```sh
sudo av install brew:sniffnet
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install sniffnet
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install sniffnet
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#sniffnet
```

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

- pacman (92%):

```sh
sudo pacman -S sniffnet
```

  证据: Arch Linux sync databases: sniffnet from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

### Windows

- Scoop (92%):

```sh
scoop install extras/sniffnet
```

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

## 软件包事实

- **软件包键:** brew:sniffnet
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/sniffnet>
- **版本:** 1.5.1
- **来源摘要:** Cross-platform application to monitor your network traffic
- **主页:** <https://sniffnet.net/>
- **仓库:** <https://github.com/GyulyVGC/sniffnet>
- **上游文档:** <https://sniffnet.net/>
- **许可证:** Apache-2.0 OR MIT
- **源码归档:** <https://github.com/GyulyVGC/sniffnet/archive/refs/tags/v1.5.1.tar.gz>
- **最后更新:** 2026-07-22T10:30:31Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- sniffnet (cli)
- sniffnet (别名)

## 构建依赖

- pkgconf
- rust

## macOS 提供的库

- libpcap

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.5.1
- 管理器更新时间: 2026-07-22
- 本地数据: OK
- 上游仓库: https://github.com/GyulyVGC/sniffnet
- 检测到的最新版本: v1.5.1 (当前)
## 项目历史与用法

Sniffnet is a Rust-based, cross-platform network traffic monitor aimed at making packet-level observation approachable through a graphical interface while still remaining installable from developer package managers.

### 项目历史

The public GitHub repository was created in 2022, and the early changelog shows a tool focused on network traffic reports and protocol filtering. By version 1.2.1 in 2023, the project described itself as no longer just a command-line interface, adding a full graphical interface, persistent settings, geolocation, favorites, and notifications.

Later releases broadened Sniffnet from live adapter monitoring into a more complete desktop network-inspection tool. Version 1.3 added ICMP support, service identification, PCAP export, custom themes, and more link types; version 1.4 added PCAP import; and version 1.5 added attribution of traffic to local applications and programs.

### 采用历史

The supplied package metadata lists Sniffnet in Homebrew, MacPorts, Nix, Arch/pacman, and Scoop, reflecting adoption across Unix-like, macOS, and Windows-oriented package ecosystems. The official changelog also documents Linux AppImage, Debian package, RPM, Docker, Windows installer, and translation work, which are typical signals of a desktop tool moving beyond a single developer audience.

### 使用方式

Sniffnet is commonly used to select a network adapter, monitor traffic, inspect hosts and services, filter captured data, export or import PCAP files, and identify which applications are generating network traffic. Its official site frames the tool around seeing who the user is exchanging data with and inspecting network activity more deeply.

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

Package maintainers care about Sniffnet because it sits at the intersection of Rust desktop packaging, native packet-capture dependencies such as libpcap/Npcap, GUI runtime issues, and platform-specific release artifacts. It is a good example of a modern network utility that package managers must present as both a GUI app and a command-line-installable tool.

### 时间线

- 2022: Public GitHub repository created.
- 2023: Version 1.2.1 made Sniffnet a full graphical application with persistent settings.
- 2024: Version 1.3 added ICMP support, PCAP export, service identification, and theming.
- 2025: Version 1.4 added PCAP import and broader Linux packaging artifacts.
- 2026: Version 1.5 added application/program traffic attribution.

### Related projects

- Sniffnet belongs to the same practical space as tcpdump and Wireshark, but its package-manager role is closer to a friendly desktop monitor for users who want packet-capture visibility without living inside a protocol analyzer.

### 来源

- GitHub REST repository metadata for GyulyVGC/sniffnet, accessed 2026-07-02.
- <https://github.com/GyulyVGC/sniffnet>
- <https://github.com/GyulyVGC/sniffnet/blob/main/CHANGELOG.md>
- <https://sniffnet.net/>
- input.source_facts.package-manager


## 安全说明

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

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

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** sniffnet
- **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 - sniffnet: normalized package name match | nixpkgs package indexes: pkgs/by-name/sn/sniffnet/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - sniffnet - 1.5.1-1: normalized package name match | Arch Linux sync databases: sniffnet from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Application to comfortably monitor your network traffic | https://github.com/GyulyVGC/sniffnet
- MacPorts - sniffnet: normalized package name match | MacPorts ports tree: net/sniffnet/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - extras/sniffnet: normalized package name match | Scoop official bucket manifest trees: bucket/sniffnet.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1


## 相关链接

- [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.
- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Build dependency declared by Homebrew.
- [fprobe](https://pkg.so/zh-hans/brew/fprobe/) - Shares pkgdb curated category or tags: cli, network-monitoring, networking, traffic-analysis.
- [ntopng](https://pkg.so/zh-hans/brew/ntopng/) - Shares pkgdb curated category or tags: cli, network-monitoring, networking, traffic-analysis.
- [rustnet](https://pkg.so/zh-hans/brew/rustnet/) - Shares pkgdb curated category or tags: cli, cross-platform, network-monitoring, networking.
- [nfdump](https://pkg.so/zh-hans/brew/nfdump/) - Shares pkgdb curated category or tags: cli, network-monitoring, networking, traffic-analysis.
- [argus-clients](https://pkg.so/zh-hans/brew/argus-clients/) - Shares pkgdb curated category or tags: cli, network-monitoring, networking, traffic-analysis.
- [sniffer](https://pkg.so/zh-hans/brew/sniffer/) - Shares pkgdb curated category or tags: cli, network-monitoring, networking, traffic-analysis.
- [yconalyzer](https://pkg.so/zh-hans/brew/yconalyzer/) - Shares pkgdb curated category or tags: cli, network-monitoring, networking, traffic-analysis.
- [tcpdump](https://pkg.so/zh-hans/brew/tcpdump/) - Shares pkgdb curated category or tags: cli, network-monitoring, networking.

## Combined YAML source

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


## 来源

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