# 使用 Homebrew, apk, apt, dnf, MacPorts, pacman, zypper, Nix 安装 bwm-ng

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

## 安装

```sh
sudo av install brew:bwm-ng
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install bwm-ng
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install bwm-ng
```

  证据: MacPorts ports tree: net/bwm-ng/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add bwm-ng
```

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

- Debian apt (92%):

```sh
sudo apt install bwm-ng
```

  证据: Debian stable package indexes: bwm-ng from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install bwm-ng
```

  证据: Fedora Rawhide package metadata: bwm-ng from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- pacman (92%):

```sh
sudo pacman -S bwm-ng
```

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

- zypper (92%):

```sh
sudo zypper install bwm-ng
```

  证据: openSUSE Tumbleweed package metadata: bwm-ng from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#bwm_ng
```

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

## 软件包事实

- **软件包键:** brew:bwm-ng
- **软件包管理器:** Homebrew
- **版本:** 0.6.3
- **来源摘要:** Console-based live network and disk I/O bandwidth monitor
- **主页:** <https://www.gropp.org/?id=projects&sub=bwm-ng>
- **仓库:** <https://github.com/vgropp/bwm-ng>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- bwm-ng (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.6.3
## 项目历史与用法

bwm-ng, Bandwidth Monitor NG, is a small console bandwidth monitor for network and disk I/O. It reports live rates for interfaces and devices through curses, plain console, CSV, or HTML output.

### 项目历史

Volker Gropp's project page and README say bwm-ng was influenced by an older bwm utility by Barney, which had problems with faster interfaces and was very simple. Gropp already had much of the needed code from other projects and created his own version.

The tool grew around portable input backends: /proc/net/dev, netstat, getifaddr, sysctl, kstat, /proc/diskstats, /proc/partitions, IOKit, devstat, and libstatgrab. Its ChangeLog shows intensive portability work around the 0.6 release in 2007 and later maintenance releases in 2015, 2019, and 2021.

### 采用历史

bwm-ng was adopted by Unix and Linux distributions because it offered a lightweight live monitor without requiring a full monitoring stack. The official project page lists Debian, Gentoo, Ubuntu, OpenWrt, Source Mage, Fink/Darwin, Slackware, Red Hat, Fedora, SUSE, Solaris, FreeBSD, and OpenBSD packaging or ports; the supplied package facts add Homebrew, Alpine, Nix, Pacman, and zypper.

### 使用方式

Users run `bwm-ng` interactively to watch interface or disk throughput, switch input methods, toggle units, show current, max, sum, or average rates, and optionally export machine-readable CSV or HTML. The README documents config files at /etc/bwm-ng.conf and ~/.bwm-ng.conf.

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

bwm-ng is package-nerd significant as a portability fossil from the era when a useful network monitor meant handling many OS-specific kernel interfaces by hand. It is tiny, scriptable, and valuable on servers where installing a larger telemetry stack would be overkill.

### 时间线

- 2004: README copyright range begins, matching the project's early public era.
- 2007: bwm-ng 0.6 release cleans up portability and disk I/O support.
- 2015: bwm-ng 0.6.1 updates build and libstatgrab compatibility.
- 2019: bwm-ng 0.6.2 incorporates community fixes and build updates.
- 2021: bwm-ng 0.6.3 adds newer Linux netstat support and other fixes.

### Related projects

- The older bwm utility by Barney directly influenced bwm-ng.
- libstatgrab is an optional related library referenced by the project for statistics collection.
- Tools such as iftop, nload, and vnStat occupy adjacent network-monitoring niches, though bwm-ng emphasizes simple multi-output live rates.

### 来源

- <https://github.com/vgropp/bwm-ng>
- <https://github.com/vgropp/bwm-ng/blob/main/ChangeLog>
- <https://www.gropp.org/?id=projects&sub=bwm-ng>
- source_facts.package-manager


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: /etc/bwm-ng.conf, ~/.bwm-ng.conf
## 其他软件包管理器记录

- Debian apt - bwm-ng - 0.6.3-2+b1: normalized package name match | Debian stable package indexes: bwm-ng from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | small and simple console-based bandwidth monitor | https://www.gropp.org/?id=projects&sub=bwm-ng
- Nix - bwm_ng: normalized package name match | nixpkgs package indexes: pkgs/by-name/bw/bwm_ng/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - bwm-ng - 0.6.3-2: normalized package name match | Ubuntu 24.04 LTS package indexes: bwm-ng from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | small and simple console-based bandwidth monitor | https://www.gropp.org/?id=projects&sub=bwm-ng
- apk - bwm-ng - 0.6.3-r3: normalized package name match | Alpine Linux edge package indexes: bwm-ng from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | A small and simple console-based live bandwidth monitor | http://www.gropp.org/
- apk - bwm-ng-doc - 0.6.3-r3: normalized package name match | Alpine Linux edge package indexes: bwm-ng-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | A small and simple console-based live bandwidth monitor (documentation) | http://www.gropp.org/
- dnf - bwm-ng - 0.6.3-9.fc45: normalized package name match | Fedora Rawhide package metadata: bwm-ng from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Bandwidth Monitor NG | https://github.com/vgropp/bwm-ng
- pacman - bwm-ng - 0.6.3-3: normalized package name match | Arch Linux sync databases: bwm-ng from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A small and simple console-based live bandwidth monitor | https://www.gropp.org/?id=projects&sub=bwm-ng
- zypper - bwm-ng - 0.6.3-1.20: normalized package name match | openSUSE Tumbleweed package metadata: bwm-ng from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Realtime Bandwidth Monitor | https://www.gropp.org/?id=projects&sub=bwm-ng
- MacPorts - bwm-ng: normalized package name match | MacPorts ports tree: net/bwm-ng/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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


## 来源

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