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

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

## 安装

```sh
sudo av install brew:havn
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install havn
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add havn
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#havn
```

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

- pacman (92%):

```sh
sudo pacman -S havn
```

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

## 软件包事实

- **软件包键:** brew:havn
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/havn>
- **版本:** 0.3.7
- **来源摘要:** Fast configurable port scanner with reasonable defaults
- **主页:** <https://github.com/mrjackwills/havn>
- **仓库:** <https://github.com/mrjackwills/havn>
- **上游文档:** <https://github.com/mrjackwills/havn#readme>
- **许可证:** MIT
- **源码归档:** <https://github.com/mrjackwills/havn/archive/refs/tags/v0.3.7.tar.gz>
- **最后更新:** 2026-04-27T15:13:06Z
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- havn (cli)
- havn (别名)

## 构建依赖

- rust

## 安装行为

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

## 版本和新鲜度

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

havn is a lightweight Rust port scanner with configurable defaults. The README describes it as a self-contained TCP scanning application using Tokio multithreading, with Docker and multi-platform binary distribution.

### 项目历史

The project history is compact and well documented in its changelog. Version 0.1.0 on 2023-05-18 is listed as the initial commit. Subsequent 0.1.x releases refined documentation, CLI argument descriptions, spinner/color behavior, tests, and maintenance automation.

By 2025, the changelog shows feature work such as a Rust 2024 edition update and verbose mode. The 0.3.x line continued performance and release-workflow adjustments while retaining the small single-purpose scope of a fast configurable scanner.

### 采用历史

havn is distributed through Cargo, prebuilt GitHub release archives, Docker Hub, GitHub Container Registry, Arch Linux repositories, x-cmd, and Homebrew package metadata. That gives a small Rust CLI several installation paths without turning it into a larger framework.

Its adoption is likely among users who want a quick TCP port scan with sane defaults, concurrent scanning, IPv4/IPv6 selection, configurable ranges, retries, timeouts, Docker support, and a small binary footprint.

### 使用方式

Typical use is direct CLI scanning: run havn with a host or address, optionally select all ports or a range, set concurrency, timeout, retry count, monochrome output, IPv6 mode, or verbose output.

The README examples cover scanning github.com with defaults, scanning localhost across all ports with custom concurrency and timeout, scanning specific host/port ranges, and scanning one port with retries.

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

havn is package-nerd relevant as a small Rust network utility that ships through several channels: cargo install for Rust users, prebuilt release archives for direct installs, containers for isolated runs, and OS package managers for system-managed installs.

Its changelog is intentionally granular, recording maintenance items such as dependency updates, Rust lint changes, release-script updates, and CI workflow changes. That is useful to package maintainers because build tooling and Rust edition changes can affect downstream packaging even when CLI behavior barely changes.

### 时间线

- 2023-05-18: v0.1.0 initial commit.
- 2023-07-30: v0.1.3 added monochrome mode.
- 2024: 0.1.x releases continued documentation, dependency, and workflow maintenance.
- 2025-02-24: v0.2.0 updated the project to Rust 2024 edition.
- 2025-08-12: v0.3.0 added verbose mode.
- 2026: 0.3.x releases continued dependency, workflow, linting, and container-build fixes.

### Related projects

- Tokio provides the asynchronous Rust runtime used by havn.
- Cargo and crates.io are the native Rust packaging path for havn.
- Docker Hub, GitHub Container Registry, Arch Linux packaging, Homebrew, and x-cmd are documented distribution channels.

### 来源

- <https://crates.io/crates/havn>
- <https://formulae.brew.sh/formula/havn>
- <https://github.com/mrjackwills/havn>
- <https://github.com/mrjackwills/havn/releases>
- <https://raw.githubusercontent.com/mrjackwills/havn/main/CHANGELOG.md>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

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

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

- Nix - havn: normalized package name match | nixpkgs package indexes: pkgs/by-name/ha/havn/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - havn - 0.1.17-r0: normalized package name match | Alpine Linux edge package indexes: havn from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A fast configurable port scanner with reasonable defaults | https://github.com/mrjackwills/havn
- pacman - havn - 0.3.7-1: normalized package name match | Arch Linux sync databases: havn from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A fast configurable port scanner with reasonable defaults | https://github.com/mrjackwills/havn


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [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.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [rust](https://www.automicvault.com/zh-hans/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [smap](https://www.automicvault.com/zh-hans/pkg/brew/smap/) - Shares av.db curated category or tags: cli, network-scanner, networking, port-scanner, security.
- [netscanner](https://www.automicvault.com/zh-hans/pkg/brew/netscanner/) - Shares av.db curated category or tags: cli, network-scanner, networking, rust.
- [sniffglue](https://www.automicvault.com/zh-hans/pkg/brew/sniffglue/) - Shares av.db curated category or tags: cli, networking, rust, security.
- [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.
- [checkdmarc](https://www.automicvault.com/zh-hans/pkg/brew/checkdmarc/) - Shares av.db curated category or tags: cli, networking, security.

## Combined YAML source

View the package source record on GitHub. [combined/havn.yml](https://github.com/automic-vault/db/blob/main/combined/havn.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
