Telnet on macOS High Sierra

Опубликовано: 28 Июнь 2026
на канале: Björn Albers
1,827
18

Apple has removed the "telnet" command in macOS High Sierra.
Fortunately, you can quickly reinstall it.
In this video, I demonstrate the installation and introduce an alternative program.

Here's the problem again: I can run telnet in macOS Sierra.
But in macOS High Sierra, I get the error message "command not found" instead.
Stupid.
The easiest way to reinstall telnet is with Mac Homebrew: https://brew.sh

This assumes you have XCode and its command-line tools installed.
Then simply copy the installation command from the Homebrew website into the terminal and press "Enter."
After that, you can install telnet with "brew install telnet."
Done.

But, as I said, there is a second option.

If you've previously used telnet to check whether a specific TCP port on a computer is reachable, you can also use netcat - written as `nc`.
With telnet, you simply specify the computer and the corresponding port:

$ telnet example.com 80

The command line with netcat is very similar.
You just need to specify the "-z" option:

$ nc -z example.com 80

I have one more thing.
You can also watch Star Wars in ASCII with telnet.
To do so, enter the following command:

$ telnet towel.blinkenlights.nl

Thanks for watching.
If you have any questions, please post them in the comments below.
Take care, bye.

Björn

An article on the topic:   / bring-telnet-back-on-macos-high-sierra  
Music: Joe Bagale - Chicago (YouTube Audio Library)