# Install havn with Homebrew, apk, Nix, pacman

Fast configurable port scanner with reasonable defaults. Version 0.3.7 via Homebrew; verified 2026-04-27.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install havn
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add havn
```

  Evidence: 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
```

  Evidence: 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
```

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

## Package facts

- **Package key:** brew:havn
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/havn>
- **Version:** 0.3.7
- **Source summary:** Fast configurable port scanner with reasonable defaults
- **Homepage:** <https://github.com/mrjackwills/havn>
- **Repository:** <https://github.com/mrjackwills/havn>
- **Upstream docs:** <https://github.com/mrjackwills/havn#readme>
- **License:** MIT
- **Source archive:** <https://github.com/mrjackwills/havn/archive/refs/tags/v0.3.7.tar.gz>
- **Last updated:** 2026-04-27T15:13:06Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- havn (cli)
- havn (alias)

## Build dependencies

- rust

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.3.7
- Package-manager updated: 2026-04-27
- Local data: ok
- Upstream repository: https://github.com/mrjackwills/havn
- Upstream latest detected: v0.3.7 (current)
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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.

### Sources

- <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>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **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

## Other Package-Manager Records

- 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


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [smap](https://www.automicvault.com/pkg/brew/smap/) - Shares av.db curated category or tags: cli, network-scanner, networking, port-scanner, security.
- [netscanner](https://www.automicvault.com/pkg/brew/netscanner/) - Shares av.db curated category or tags: cli, network-scanner, networking, rust.
- [sniffglue](https://www.automicvault.com/pkg/brew/sniffglue/) - Shares av.db curated category or tags: cli, networking, rust, security.
- [arp-scan](https://www.automicvault.com/pkg/brew/arp-scan/) - Shares av.db curated category or tags: cli, network-scanner, networking.
- [asuka](https://www.automicvault.com/pkg/brew/asuka/) - Shares av.db curated category or tags: cli, networking, rust.
- [bore-cli](https://www.automicvault.com/pkg/brew/bore-cli/) - Shares av.db curated category or tags: cli, networking, rust.
- [boringtun](https://www.automicvault.com/pkg/brew/boringtun/) - Shares av.db curated category or tags: cli, networking, rust.
- [checkdmarc](https://www.automicvault.com/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)


## Sources

- 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
