How to use MTR on MacOS?

First install brew:

brew install mtr

After installation is complete, open .bash_profile using your favorite text editor:

sudo vim ~/.bash_profile

and add the following:

alias mtr=/usr/local/sbin/mtr

Run the mtr command:

mtr 8.8.8.8

Result:

                                                             Packets               Pings
 Host                                                      Loss%   Snt   Last   Avg  Best  Wrst StDev
 1. 192.168.6.1                                             0.0%    71    1.4   1.6   1.2  11.3   1.2
 2. 209.71.192.10                                           0.0%    70    5.3   8.7   4.7  61.0   9.6
 3. bx1-ashburnbk_0-2-0-0.net.bell.ca                       0.0%    70   23.7  20.6  19.9  25.2   0.9
 4. tcore3-ashburnbk_100ge0-12-0-0.net.bell.ca              0.0%    70   29.4  28.7  26.4  31.1   1.2
 5. tcore3-toronto47_2-8-0-3.net.bell.ca                    0.0%    70   26.3  30.7  26.3  34.6   2.5
 6. tcore1-torontoxn_ae1.net.bell.ca                        0.0%    70   26.9  27.3  26.0  36.4   1.9
 7. bx3-torontoxn_hundredgige0-1-0-0.net.bell.ca            0.0%    70   27.7  27.2  26.4  35.7   1.3
 8. ???
 9. ???
10. 108.170.226.212                                         0.0%    70   27.9  28.7  26.1  79.2   8.0
11. 108.170.236.13                                          0.0%    70   26.3  26.7  26.2  42.1   1.9
12. google-public-dns-a.google.com                          0.0%    70   26.2  26.5  25.9  47.2   2.5