I absolutely love homebrew. It’s so much cleaner and easier to use than the other osx package managers out there.
Recently I decided to install mtr and found that the default installation via homebrew used X11/gtk, which I didn’t much care for. From years of mtr use on Linux, the terminal one just feels better to me…
To make the terminal version the default there are a couple of methods.
Option 1: Install with the –no-gtk option:
brew install mtr --no-gtk
Option 2: Do the default install and create an alias to run terminal mode:
brew install mtr
Add the following line to your ~/.bashrc or ~/.profile
alias mtr="mtr -t"
Now when you use mtr, it will use the terminal version.