Install telnet, ftp on MacOS

telnet and ftp have been removed from Mac. While people shouldn't be using insecure versions of these protocols, I use telnet often to diagnose connections issues. The solution to this is to install inetutils.

You can install inetutils using Homebrew or MacPorts, but I prefer compiling from source. It is more straight-forward and does not require installing additional packages.

Download and Extract

First off, dowload your preferred version of inetutils from

curl -o inetutils-1.4.0.tar.gz
tar xzvf inetutils-1.4.0.tar.gz

Compile and Install

cd inetutils-1.4.0
sudo make install


inetutils should now be installed!