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
sequoia
sonoma
ventura
macOS on
Intel
sonoma
ventura
Linux ARM64
x86_64

Current versions:

stable 4.4.5
head ⚡️ HEAD

Depends on:

c-ares 1.34.4 Asynchronous DNS library
glib 2.84.0 Core application library for C
gnutls 3.8.9 GNU Transport Layer Security (TLS) Library
libgcrypt 1.11.0 Cryptographic library based on the code from GnuPG
libmaxminddb 1.12.2 C library for the MaxMind DB file format
libnghttp2 1.65.0 HTTP/2 C Library
libnghttp3 1.8.0 HTTP/3 library written in C
libsmi 0.5.0 Library to Access SMI MIB Information
libssh 0.11.1 C library SSHv1/SSHv2 client and server protocols
lua 5.4.7 Powerful, lightweight programming language
pcre2 10.45 Perl compatible regular expressions library with a new API
speexdsp 1.2.1 Speex audio processing library
libgpg-error 1.51 Common error values for all GnuPG components

Depends on when building from source:

cmake 3.31.6 Cross-platform make
This formula only installs the command-line utilities by default.

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

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

Analytics:

Installs (30 days)
wireshark 6,665
wireshark --HEAD 15
Installs on Request (30 days)
wireshark 6,590
wireshark --HEAD 15
Build Errors (30 days)
wireshark 10
Installs (90 days)
wireshark 18,001
wireshark --HEAD 36
Installs on Request (90 days)
wireshark 17,748
wireshark --HEAD 36
Installs (365 days)
wireshark 66,341
wireshark --HEAD 111
Installs on Request (365 days)
wireshark 65,223
wireshark --HEAD 111
Fork me on GitHub