# Install tcpstat with Homebrew, apt

Active TCP connections monitoring tool. Version 0.1 via Homebrew; verified from local package data. Also installable with debian: sudo apt install tcpstat.

## Install

```sh
sudo av install brew:tcpstat
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install tcpstat
```

  Evidence: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install tcpstat
```

  Evidence: Debian stable package indexes: tcpstat from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## Package facts

- **Package key:** brew:tcpstat
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/tcpstat>
- **Version:** 0.1
- **Source summary:** Active TCP connections monitoring tool
- **Homepage:** <https://github.com/jtt/tcpstat>
- **Repository:** <https://github.com/jtt/tcpstat>
- **License:** BSD-2-Clause
- **Source archive:** <https://github.com/jtt/tcpstat/archive/refs/tags/rel-0-1.tar.gz>
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- tcpstat (cli)
- tcpstat (alias)

## Uses from macOS

- ncurses

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 0.1
- Local data: ok
- Upstream repository: https://github.com/jtt/tcpstat
- info: No package-manager update timestamp was available.
- info: No cached GitHub release or tag data was available.
## Project history and usage

tcpstat is a small terminal monitor for active TCP connections. The official README describes it as a cross between top and netstat, implemented in C with an ncurses user interface.

### Project history

The public repository dates to 2008, and a 0.1 tag was recorded in 2013. The README presents tcpstat as usable but still under development, with incomplete help and manpage polish, and documents support for Linux, OpenBSD, and OS X with some platform-specific limitations.

### Adoption history

The supplied package metadata shows tcpstat packaged for Homebrew, Debian, and Ubuntu. That is modest adoption, but enough to place it among small Unix observability tools installed when netstat output is too static and top is too process-oriented.

### How it is used

The tool is used interactively to watch active TCP connections in a curses UI. The README points users to --help for command-line parameters and documents builds with make or gmake.

### Why package nerds care

tcpstat fills a narrow gap between classic netstat and full monitoring stacks: a lightweight ncurses connection viewer that can be installed quickly from a package manager.

### Timeline

- 2008: The public tcpstat repository was created.
- 2013: The rel-0-1 tag marked version 0.1.
- Package metadata: Homebrew, Debian, and Ubuntu distribute tcpstat.

### Related projects

- The README explicitly positions tcpstat between top and netstat; ncurses provides its terminal UI.

### Sources

- <https://github.com/jtt/tcpstat/blob/master/README>
- <https://github.com/jtt/tcpstat/tags>
- source_facts.package-manager


## 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:** tcpstat
- **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

## Other Package-Manager Records

- Debian apt - tcpstat - 1.5-8.2: normalized package name match | Debian stable package indexes: tcpstat from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | network interface statistics reporting tool | http://www.frenchfries.net/paul/tcpstat/
- Ubuntu apt - tcpstat - 1.5-8.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: tcpstat from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | network interface statistics reporting tool | http://www.frenchfries.net/paul/tcpstat/


## Related links

- [Source-control packages](https://pkg.so/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://pkg.so/brew-utility-packages/) - Matched Homebrew package provider.
- [netshow](https://pkg.so/brew/netshow/) - Shares pkgdb curated category or tags: cli, monitoring, network-monitoring, networking, tcp.
- [miruo](https://pkg.so/brew/miruo/) - Shares pkgdb curated category or tags: cli, monitoring, network-monitoring, networking, tcp.
- [nethogs](https://pkg.so/brew/nethogs/) - Shares pkgdb curated category or tags: cli, monitoring, network-monitoring, networking.
- [nload](https://pkg.so/brew/nload/) - Shares pkgdb curated category or tags: cli, monitoring, network-monitoring, networking.
- [ntopng](https://pkg.so/brew/ntopng/) - Shares pkgdb curated category or tags: cli, monitoring, network-monitoring, networking.
- [prettyping](https://pkg.so/brew/prettyping/) - Shares pkgdb curated category or tags: cli, monitoring, network-monitoring, networking.
- [rustnet](https://pkg.so/brew/rustnet/) - Shares pkgdb curated category or tags: cli, monitoring, network-monitoring, networking.
- [packetbeat](https://pkg.so/brew/packetbeat/) - Shares pkgdb curated category or tags: cli, monitoring, network-monitoring, networking.

## Combined YAML source

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


## Sources

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
