Install Wireshark on MacOS X via brew

Aryan picture Aryan · Oct 7, 2014 · Viewed 46.9k times · Source

I installed Wireshark on my mac with the command

brew install wireshark

but after that, a message told me that I had to curl and install ChmodBPF, so I did that too.

But there is no command named Wireshark on terminal. What is wrong with that?

Answer

Allan Beaufour picture Allan Beaufour · Dec 29, 2014

The homebrew package wireshark installs the command line util tshark. If you want to enable the GUI, then install wireshark like this:

brew install wireshark --with-qt

If you already have Wireshark installed, do

brew reinstall wireshark --with-qt