# 使用 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
- **版本:** 0.6.43
- **来源摘要:** Network scanner with features like WiFi scanning, packetdump and more
- **主页:** <https://github.com/Chleba/netscanner>
- **仓库:** <https://github.com/Chleba/netscanner>
- **最后更新:** 2026-07-06T22:49:32Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- netscanner (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.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

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

- 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.43-1: 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


## Combined YAML source

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


## 来源

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