# 使用 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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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
- **软件包管理器页面:** <https://formulae.brew.sh/formula/bwm-ng>
- **版本:** 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>
- **上游文档:** <https://www.gropp.org/?id=projects&sub=bwm-ng>
- **许可证:** GPL-2.0-or-later
- **源码归档:** <https://github.com/vgropp/bwm-ng/archive/refs/tags/v0.6.3.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- bwm-ng (cli)
- bwm-ng (别名)

## 构建依赖

- autoconf
- automake

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.6.3
- 本地数据: OK
- 上游仓库: https://github.com/vgropp/bwm-ng
- 检测到的最新版本: v0.6.3 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

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
## 源数据库详情

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

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

- 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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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


## 相关链接

- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [autoconf](https://pkg.so/zh-hans/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://pkg.so/zh-hans/brew/automake/) - Build dependency declared by Homebrew.
- [nload](https://pkg.so/zh-hans/brew/nload/) - Shares pkgdb curated category or tags: bandwidth, cli, console, network-monitoring, networking.
- [vnstat](https://pkg.so/zh-hans/brew/vnstat/) - Shares pkgdb curated category or tags: bandwidth, cli, console, network-monitoring, networking.
- [iftop](https://pkg.so/zh-hans/brew/iftop/) - Shares pkgdb curated category or tags: bandwidth, cli, network-monitoring, networking.
- [nethogs](https://pkg.so/zh-hans/brew/nethogs/) - Shares pkgdb curated category or tags: bandwidth, cli, network-monitoring, networking.
- [bmon](https://pkg.so/zh-hans/brew/bmon/) - Shares pkgdb curated category or tags: bandwidth, cli, network-monitoring, networking.
- [ifstat](https://pkg.so/zh-hans/brew/ifstat/) - Shares pkgdb curated category or tags: bandwidth, cli, network-monitoring, networking.
- [slurm](https://pkg.so/zh-hans/brew/slurm/) - Shares pkgdb curated category or tags: cli, curses, network-monitoring, networking.
- [jnettop](https://pkg.so/zh-hans/brew/jnettop/) - Shares pkgdb curated category or tags: cli, curses, network-monitoring, networking.

## 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
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
