mtr Package Installation on Mac

About mtr : ‘traceroute’ and ‘ping’ in a single tool!
More Information: https://www.bitwizard.nl/mtr/

What is mtr and how To use it? Video Tutorial


Steps:

  1. Launch Terminal by pressing command+space, type terminal and hit Enter key.
  2. Run
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
  3. Install
    brew install mtr

Done!

How To Make mtr command available on mac after installation

Go Inside the folder (/usr/local/Cellar/mtr/0.93_1/sbin) or other version (0.9x.x)

cd (/usr/local/Cellar/mtr/0.93_1/sbin
sudo cp mtr /usr/local/bin/
sudo cp mtr-packet /usr/local/bin/

done this, just run
sudo mtr [IP]