Automic VaultAutomic Vault

brew

Install bandwhich with Homebrew, apk, MacPorts, Nix, pacman, scoop

Terminal bandwidth utilization tool. Version 0.23.1 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install bandwhich

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install bandwhich

MacPorts ports tree · net/bandwhich/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add bandwhich

Alpine Linux edge package indexes · bandwhich · source: dl-cdn.alpinelinux.org

Nixverified · 92%
nix profile install nixpkgs#bandwhich

nixpkgs package indexes · pkgs/by-name/ba/bandwhich/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S bandwhich

Arch Linux sync databases · bandwhich · source: geo.mirror.pkgbuild.com

Windows

Scoopverified · 92%
scoop install main/bandwhich

Scoop official bucket manifest trees · bucket/bandwhich.json · source: api.github.com

overview

Package summary

Terminal bandwidth utilization tool

Commands and aliases

  • bandwhich

history

Project history and usage

bandwhich is a Rust terminal utility for showing current network utilization by process, connection, and remote host. It fills the same everyday-admin niche as tools like iftop and nethogs, but with a modern cross-platform Rust implementation and a terminal UI.

Project history

The official repository history begins in September 2019. The README describes a packet-sniffing tool that cross-references captured traffic with process information from /proc on Linux, lsof on macOS, and WinAPI on Windows.

The changelog shows fast early iteration through 2020, including raw output, UI changes, Windows support, DNS controls, and cross-platform fixes. The current README says the project is in passive maintenance: critical issues are addressed, but new features are not actively developed without more maintainers.

Adoption history

bandwhich moved beyond Cargo-only installation into OS package managers. The official INSTALL.md documents Arch, Exherbo, Nix/NixOS, Void, Fedora COPR, Homebrew, MacPorts, FreeBSD, and Cargo installation paths; the supplied package facts additionally list Homebrew, Alpine, MacPorts, Nix, Arch, and Scoop.

How it is used

bandwhich generally needs elevated capture permissions. The README documents Linux setcap and sudo workflows, Windows npcap requirements, interface selection, raw output, reverse-DNS controls, DNS display, and logging options.

Its core use is answering a simple operational question from a terminal: which local process and remote endpoint are currently using bandwidth.

Why package nerds care

bandwhich is package-nerd-interesting because it packages a privileged network sniffer as a single Rust CLI with platform-specific permission notes. Downstream maintainers have to care about capabilities, packet-capture dependencies, manpages/completions, and binary release targets.

It is also a good example of Rust CLI adoption in system administration: a modern replacement-style tool entering classic Unix package channels while still retaining Cargo as an installation fallback.

Timeline

  • 2019: Public Git history begins with the initial commit.
  • 2019: 0.3.0 is tagged as an early public release.
  • 2020: 0.18.0 adds Windows build and run support.
  • 2020: 0.20.0 adds an option to specify a DNS server.
  • 2024: 0.23.x releases update packaging, CI, and platform support.
  • 2020s: README marks the project as passively maintained.

Related projects

  • bandwhich is related to iftop, nethogs, tcpdump-style packet capture tools, and Rust terminal UI utilities. Its package-manager peer group is small privileged network-monitoring CLIs.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
bandwhichcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version0.23.1
manager updated
local dataok
upstreamcurrent
latest detectedv0.23.1

https://github.com/imsnif/bandwhich

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:bandwhich
Version0.23.1
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/bandwhich
Homepagehttps://github.com/imsnif/bandwhich
Repositoryhttps://github.com/imsnif/bandwhich
Upstream docshttps://github.com/imsnif/bandwhich#readme
LicenseMIT
Source archivehttps://github.com/imsnif/bandwhich/archive/refs/tags/v0.23.1.tar.gz
Build dependenciesrust
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namebandwhich
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

bandwhich

nix profile install nixpkgs#bandwhich
  • normalized package name match
  • Matched by: Bandwhich
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ba/bandwhich/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

bandwhich 0.23.1-r0

Terminal bandwidth utilization tool

https://github.com/imsnif/bandwhich

sudo apk add bandwhich
  • License: MIT
  • Architecture: x86_64
  • Source Package: bandwhich
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Bandwhich
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: bandwhich from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
pacman95%

bandwhich 0.23.1-3

Terminal bandwidth utilization tool

https://github.com/imsnif/bandwhich

sudo pacman -S bandwhich
  • License: MIT
  • Architecture: x86_64
  • 2 dependencies
  • normalized package name match
  • Matched by: Bandwhich
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: bandwhich from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

bandwhich

sudo port install bandwhich
  • normalized package name match
  • Matched by: Bandwhich
MacPorts ports tree · api.github.com · MacPorts ports tree: net/bandwhich/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/bandwhich

scoop install main/bandwhich
  • normalized package name match
  • Matched by: Bandwhich
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/bandwhich.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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