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?
The official macOS packages can be downloaded from the Wireshark main page or the download page. Packages are distributed as disk images (. dmg) containing the application bundle.
Simply type sudo 644 /dev/bpf* and hit enter. This will not, however, execute until the administrators password is inputted. This step is show below in Figure 4. Since the Terminal is already open, Wireshark can be opened by opening the Applications folder using cd /Applications and then typing open Wireshark.
By default, it installs Homebrew so you can use the brew command without typing the sudo command and providing your password. UPDATE: The below command is no longer necessary. Homebrew Cask is now automatically installed as part of Homebrew itself.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With