Command-line tool
tcpdump
brew/tcpdump
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Command-line packet analyzer
At a glance
- Type
- Command-line tool
- Install on
- macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
macOS
brew install tcpdump
Linux
brew install tcpdump
List available network interfaces
tcpdump -D
Capture the traffic of a specific interface
sudo tcpdump -i eth0
Capture all TCP traffic showing contents ([A]SCII) in console
sudo tcpdump -A tcp
Related command-line tools
- windump
Windows version of tcpdump, the command-line network packet capture and analyzer tool. - sigrok-cli
Sigrok command-line interface to use logic analyzers and more - sngrep
Command-line tool for displaying SIP calls message flows - zeek
Network security monitor - wireshark
Network analyzer and capture tool - without graphical user interface foss network 网络 open-source capture 抓包 traffic 流量… - wakeonlan
Sends magic packets to wake up network-devices - Wireshark
Network protocol analyzer - Febooti Command Line Email
Febooti Command Line Email (Windows package; no description in the winget index) cmd email
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents