Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools HTTP Basics Introduction to HTTP HTTP Requests Using Telnet

Cristina Lopez
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Cristina Lopez
Full Stack JavaScript Techdegree Graduate 18,083 Points

Terminal error message

I am trying to follow along with the video and typing what is said into my terminal (Mac computer) but am getting this error message: zsh: command not found: telnet

Does anyone know what is going on? The teacher notes says that Telnet should already be installed on my computer since it's a Mac.

Thank you in advance!

2 Answers

Marlene Guzman
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Marlene Guzman
Full Stack JavaScript Techdegree Graduate 15,110 Points

it doesn't work on the latest version of MAC os. Here is an article where it shows the alternative way: https://osxdaily.com/2018/07/18/get-telnet-macos/

Also, in the video, it says you can use workspaces in case you cannot get it running on your terminal

to do it on your workspace, you can watch the video titled, "HTTP request using telnet". and fast forward to minute 6:10

Be sure that your homebrew is updated if not just run the following in the MAC terminal: brew upgrade

  1. install Homebrew on macOS using terminal: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

  2. Use Homebrew to install telnet: brew install telnet

  3. Run telnet: telnet device-ip-address