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

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

Formula code: wireshark.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
tahoe
sequoia
sonoma
macOS on
Intel
sonoma
Linux ARM64
x86_64

Current versions:

stable 4.6.2
head ⚡️ HEAD

Depends on:

c-ares 1.34.6 Asynchronous DNS library
glib 2.86.3 Core application library for C
gnutls 3.8.11 GNU Transport Layer Security (TLS) Library
libgcrypt 1.11.2 Cryptographic library based on the code from GnuPG
libmaxminddb 1.12.2 C library for the MaxMind DB file format
libnghttp2 1.68.0 HTTP/2 C Library
libnghttp3 1.13.1 HTTP/3 library written in C
libsmi 0.5.0 Library to Access SMI MIB Information
libssh 0.11.3 C library SSHv1/SSHv2 client and server protocols
lua 5.4.8 Powerful, lightweight programming language
lz4 1.10.0 Extremely Fast Compression algorithm
pcre2 10.47 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.56 Common error values for all GnuPG components

Depends on when building from source:

cmake 4.2.0 Cross-platform make
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

Analytics:

Installs (30 days)
wireshark 7,443
wireshark --HEAD 21
Installs on Request (30 days)
wireshark 7,293
wireshark --HEAD 21
Build Errors (30 days)
wireshark 63
Installs (90 days)
wireshark 17,731
wireshark --HEAD 49
Installs on Request (90 days)
wireshark 17,371
wireshark --HEAD 49
Installs (365 days)
wireshark 75,320
wireshark --HEAD 151
Installs on Request (365 days)
wireshark 74,233
wireshark --HEAD 151