# 使用 Homebrew, apk, Nix, pacman 安装 netscanner

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

## 安装

```sh
sudo av install brew:netscanner
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install netscanner
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add netscanner
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#netscanner
```

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

- pacman (92%):

```sh
sudo pacman -S netscanner
```

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

## 软件包事实

- **软件包键:** brew:netscanner
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/netscanner>
- **版本:** 0.6.43
- **来源摘要:** Network scanner with features like WiFi scanning, packetdump and more
- **主页:** <https://github.com/Chleba/netscanner>
- **仓库:** <https://github.com/Chleba/netscanner>
- **上游文档:** <https://github.com/Chleba/netscanner#readme>
- **许可证:** MIT
- **源码归档:** <https://github.com/Chleba/netscanner/archive/refs/tags/v0.6.43.tar.gz>
- **最后更新:** 2026-07-06T22:49:32Z
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- netscanner (cli)
- netscanner (别名)

## 构建依赖

- rust

## 安装行为

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

## 版本和新鲜度

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

netscanner is a Rust terminal network scanner and diagnostic TUI by Lukas Chleba. It combines interface selection, WiFi scanning, CIDR ping discovery, packet dumping, port scanning, packet-log filtering, CSV export, and traffic counting in one tool.

### 项目历史

The GitHub repository describes netscanner as a terminal network scanner and diagnostic tool with a modern TUI, implemented almost entirely in Rust. Its README credits Ratatui and libpnet as key libraries, which explains the shape of the project: a terminal UI around packet/network primitives rather than a thin wrapper around one system command.

The release stream shows active iteration after the initial 2023 package appearance on crates.io. GitHub lists v0.6.41 as the latest release on January 20, 2026, with release notes for WiFi sorting, Debian build fixes, Rust 2024 edition work, and package-version updates.

### 采用历史

The adoption signal is strongest for a niche CLI: GitHub showed about 1.8k stars and 55 forks, crates.io indexed the package with 27 versions since December 11, 2023, and the README advertises installs through Cargo, Arch Linux, Alpine edge, and Windows with Npcap. Homebrew analytics generated on 2026-07-01 reported 1,067 installs and 1,067 installs-on-request over 365 days.

### 使用方式

Users run netscanner with elevated privileges because packet capture, WiFi scanning, and interface operations need access that ordinary users often lack. The README documents a post-cargo-install chown/chmod setuid workaround, and says exports go under the user's home directory on Linux and macOS.

For package people, the interesting bit is packaging a Rust TUI that touches privileged network interfaces. Homebrew builds it with Rust, while upstream also carries Linux distro packaging signals and release notes that mention Debian build fixes.

### 时间线

- 2023-12-11: crates.io versions page reports the start of the published netscanner version history.
- 2024-05-13: GitHub release v0.5.0 added tabs and open TCP port scanning.
- 2024-07-03: GitHub release v0.5.2 added export data under ~/.netscanner and included Debian package workflow work.
- 2026-01-20: GitHub release v0.6.41 became the Homebrew stable source version.
- 2026-07-01: Homebrew API reported 1,067 installs over 365 days.

### 来源

- <https://crates.io/crates/netscanner/versions>
- <https://formulae.brew.sh/api/formula/netscanner.json>
- <https://github.com/Chleba/netscanner>
- <https://github.com/Chleba/netscanner/releases>


## 安全说明

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:** netscanner
- **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 - netscanner: normalized package name match | nixpkgs package indexes: pkgs/by-name/ne/netscanner/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - netscanner - 0.5.1-r1: normalized package name match | Alpine Linux edge package indexes: netscanner from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Network scanning & diagnostic tool | https://github.com/Chleba/netscanner
- apk - netscanner-doc - 0.5.1-r1: normalized package name match | Alpine Linux edge package indexes: netscanner-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Network scanning & diagnostic tool (documentation) | https://github.com/Chleba/netscanner
- pacman - netscanner - 0.6.41-2: normalized package name match | Arch Linux sync databases: netscanner from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Network scanner | https://github.com/Chleba/netscanner


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/zh-hans/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://www.automicvault.com/zh-hans/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [rust](https://www.automicvault.com/zh-hans/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [havn](https://www.automicvault.com/zh-hans/pkg/brew/havn/) - Shares av.db curated category or tags: cli, network-scanner, networking, rust.
- [arp-scan](https://www.automicvault.com/zh-hans/pkg/brew/arp-scan/) - Shares av.db curated category or tags: cli, network-scanner, networking.
- [asuka](https://www.automicvault.com/zh-hans/pkg/brew/asuka/) - Shares av.db curated category or tags: cli, networking, rust.
- [bore-cli](https://www.automicvault.com/zh-hans/pkg/brew/bore-cli/) - Shares av.db curated category or tags: cli, networking, rust.
- [boringtun](https://www.automicvault.com/zh-hans/pkg/brew/boringtun/) - Shares av.db curated category or tags: cli, networking, rust.
- [cloudflare-quiche](https://www.automicvault.com/zh-hans/pkg/brew/cloudflare-quiche/) - Shares av.db curated category or tags: cli, networking, rust.
- [dhcpdump](https://www.automicvault.com/zh-hans/pkg/brew/dhcpdump/) - Shares av.db curated category or tags: cli, networking, packet-analysis.
- [ferron](https://www.automicvault.com/zh-hans/pkg/brew/ferron/) - Shares av.db curated category or tags: cli, networking, rust.

## Combined YAML source

View the package source record on GitHub. [combined/netscanner.yml](https://github.com/automic-vault/db/blob/main/combined/netscanner.yml)


## 来源

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