wireshark

Install command:
brew install wireshark

Network analyzer and capture tool - without graphical user interface

https://www.wireshark.org

License: GPL-2.0-or-later

Development: Pull requests

Formula JSON API: /api/formula/wireshark.json

Formula code: wireshark.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 4.6.9
head ⚡️ HEAD

Depends on:

c-ares 1.34.9 Asynchronous DNS library
glib 2.90.1 Core application library for C
gnutls 3.8.13 GNU Transport Layer Security (TLS) Library
libgcrypt 1.12.4 Cryptographic library based on the code from GnuPG
libmaxminddb 1.14.1 C library for the MaxMind DB file format
libnghttp2 1.71.0 HTTP/2 C Library
libnghttp3 1.19.0 HTTP/3 library written in C
libsmi 0.5.0 Library to Access SMI MIB Information
libssh 0.12.2 C library SSHv1/SSHv2 client and server protocols
lua 5.5.1 Powerful, lightweight programming language
lz4 1.11.1 Extremely Fast Compression algorithm
pcre2 10.49 Perl compatible regular expressions library with a new API
speexdsp 1.2.1 Speex audio processing library
zstd 1.5.7 Zstandard is a real-time compression algorithm
libgpg-error 1.61 Common error values for all GnuPG components

Depends on when building from source:

cmake 4.5.0 Cross-platform make

Uses from macOS: bison (build), flex (build), python (build), krb5, libpcap, libxml2

Binaries: capinfos, captype, dftest, dumpcap, editcap, idl2wrs, mergecap, mmdbresolve, randpkt, rawshark, reordercap, sharkd, text2pcap, tshark

This formula only installs the command-line utilities by default.

Install Wireshark.app with Homebrew Cask:
    brew install wireshark-app

If your list of available capture interfaces is empty
(default macOS behavior), install ChmodBPF:
    brew install --cask wireshark-chmodbpf

GitHub Packages downloads:

Last 30 days20,379
Downloads1,774,637
Analytics install events (30 days)2,490
Downloads / install events (30 days)8.2×

Source: GitHub Packages, fetched 2026-11-17T00:57:17Z. Analytics dates: 2026-10-18 to 2026-11-17. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs2,4858,95150,041
Installs (--HEAD)51495
Installs on Request2,4328,73049,039
Installs on Request (--HEAD)51495
Build Errors9