# Install telnet with Homebrew, chocolatey, apt, dnf, scoop, zypper

User interface to the TELNET protocol. Version 308 via Homebrew; verified 2026-04-24.

## Install

```sh
sudo av install brew:telnet
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install telnet
```

  Evidence: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install telnet
```

  Evidence: Debian stable package indexes: telnet from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install telnet
```

  Evidence: Fedora Rawhide package metadata: telnet from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- zypper (92%):

```sh
sudo zypper install telnet
```

  Evidence: openSUSE Tumbleweed package metadata: telnet from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install telnet
```

  Evidence: Chocolatey community package catalog: telnet from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','telegram.install'

- Scoop (92%):

```sh
scoop install main/telnet
```

  Evidence: Scoop official bucket manifest trees: bucket/telnet.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:telnet
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/telnet>
- **Version:** 308
- **Source summary:** User interface to the TELNET protocol
- **Homepage:** <https://opensource.apple.com/>
- **Repository:** <https://github.com/apple-oss-distributions/remote_cmds>
- **Upstream docs:** <https://github.com/apple-oss-distributions/remote_cmds/blob/main/telnet/telnet.1>
- **License:** BSD-4-Clause-UC AND APSL-1.0
- **Source archive:** <https://github.com/apple-oss-distributions/remote_cmds/archive/refs/tags/remote_cmds-308.tar.gz>
- **Last updated:** 2026-04-24T15:02:36Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- telnet (cli)
- telnet (alias)

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 308
- Package-manager updated: 2026-04-24
- Local data: ok
- Upstream repository: https://github.com/apple-oss-distributions/remote_cmds
- info: No cached GitHub release or tag data was available.
## Project history and usage

telnet is the classic command-line user interface to the TELNET protocol. The protocol was standardized for the ARPA Internet in RFC 854 in May 1983 as a general bidirectional byte-oriented terminal communications facility.

### Project history

The BSD-derived Apple manpage carries University of California copyright dates beginning in 1983 and describes `telnet` as a user interface to the TELNET protocol. This places the packaged client in the long Unix lineage of TCP/IP remote-login tools distributed with BSD systems and later carried by operating-system vendors.

RFC 854 defines the protocol around a Network Virtual Terminal and negotiated options, with the goal of connecting terminal devices and terminal-oriented processes across heterogeneous hosts. The companion RFC 855 documents how TELNET options were to be assigned and specified.

### Adoption history

TELNET was once a standard remote-login mechanism on Internet and Unix systems, but its cleartext nature caused SSH to replace it for administration. The client persisted in package repositories because it remained useful for protocol debugging, legacy devices, embedded systems, MUDs, BBS-style services, and quick TCP service inspection.

Homebrew's package exists because modern macOS no longer treats telnet as a default userland tool, while Debian, Ubuntu, Fedora/DNF, openSUSE/Zypper, Chocolatey, and Scoop coverage reflects ongoing cross-platform demand for the small diagnostic client.

### How it is used

The manpage describes invoking `telnet` with a host and optional port, or without a host to enter an interactive `telnet>` command mode. Options cover IPv4/IPv6 selection, trace files, source address selection, escape characters, `.telnetrc` handling, rlogin-like behavior, Kerberos-related authentication controls, binary mode, and optional encryption support where compiled in.

In package-manager culture, `telnet host port` became shorthand for testing whether a TCP service accepts connections, even when the remote service is not a TELNET server. That usage survives because the client is tiny, scriptable enough for manual diagnostics, and familiar across Unix-like systems.

### Why package nerds care

telnet is historically significant because it is both a protocol tool and a fossil of early Internet userland. Package nerds care about it as a removed-default utility that keeps reappearing in bootstrap scripts, debugging recipes, and compatibility packages despite being inappropriate for secure login.

Its package metadata also illustrates how old network clients move from base operating systems into optional package-manager formulae as security expectations and default installs change.

### Timeline

- 1983: RFC 854 standardized TELNET for the ARPA Internet.
- 1983: RFC 855 standardized TELNET option specification procedures.
- 1983-1994: BSD telnet manpage lineage records University of California copyrights and Berkeley manual revisions.
- 2000: Apple-distributed telnet manpage date reflects later operating-system packaging of the BSD-derived client.

### Related projects

- telnetd is the companion server for the same protocol.
- ssh replaced TELNET for secure remote login, while tools such as nc, socat, curl, and openssl s_client cover many modern diagnostic use cases.

### Sources

- <https://github.com/apple-oss-distributions/remote_cmds/blob/main/telnet/telnet.1>
- <https://www.rfc-editor.org/rfc/rfc854.txt>
- <https://www.rfc-editor.org/rfc/rfc855.txt>
- source_facts.package-manager


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.telnetrc
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** telnet
- **Version Scheme:** 0
- **Revision:** 0
- **Conflicts With:** inetutils
- **Requirements:** macos, xcode
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Debian apt - telnet - 0.17+2.6-3+deb13u3: normalized package name match | Debian stable package indexes: telnet from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | transitional dummy package for inetutils-telnet default switch | https://www.gnu.org/software/inetutils/
- Ubuntu apt - telnet - 0.17+2.5-3ubuntu4: normalized package name match | Ubuntu 24.04 LTS package indexes: telnet from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | transitional dummy package for inetutils-telnet default switch | https://www.gnu.org/software/inetutils/
- dnf - telnet - 0.17-96.fc44: normalized package name match | Fedora Rawhide package metadata: telnet from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | The client program for the Telnet remote login protocol | http://web.archive.org/web/20070819111735/www.hcs.harvard.edu/~dholland/computers/old-netkit.html
- dnf - telnet-server - 0.17-96.fc44: normalized package name match | Fedora Rawhide package metadata: telnet-server from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | The server program for the Telnet remote login protocol | http://web.archive.org/web/20070819111735/www.hcs.harvard.edu/~dholland/computers/old-netkit.html
- zypper - telnet - 1.2-177.7: normalized package name match | openSUSE Tumbleweed package metadata: telnet from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | A client program for the telnet remote login protocol | https://svnweb.freebsd.org/base/head/contrib/telnet/
- zypper - telnet-server - 1.2-177.7: normalized package name match | openSUSE Tumbleweed package metadata: telnet-server from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | A Server Program for the Telnet Remote Login Protocol | https://svnweb.freebsd.org/base/head/contrib/telnet/
- Chocolatey - telnet: normalized package name match | Chocolatey community package catalog: telnet from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','telegram.install'
- Scoop - main/telnet: normalized package name match | Scoop official bucket manifest trees: bucket/telnet.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [telnetd](https://www.automicvault.com/pkg/brew/telnetd/) - Shares the same upstream source repository.
- [bsdmake](https://www.automicvault.com/pkg/brew/bsdmake/) - Shares the same upstream homepage.
- [mtoc](https://www.automicvault.com/pkg/brew/mtoc/) - Shares the same upstream homepage.
- [putty](https://www.automicvault.com/pkg/brew/putty/) - Shares av.db curated category or tags: cli, networking, remote-access, telnet, terminal.
- [soapyremote](https://www.automicvault.com/pkg/brew/soapyremote/) - Shares av.db curated category or tags: cli, networking, remote-access.
- [sshportal](https://www.automicvault.com/pkg/brew/sshportal/) - Shares av.db curated category or tags: cli, networking, remote-access, telnet.
- [gateway-go](https://www.automicvault.com/pkg/brew/gateway-go/) - Shares av.db curated category or tags: cli, networking, remote-access.
- [mosh](https://www.automicvault.com/pkg/brew/mosh/) - Shares av.db curated category or tags: cli, networking, remote-access, terminal.
- [shellz](https://www.automicvault.com/pkg/brew/shellz/) - Shares av.db curated category or tags: cli, networking, remote-access, telnet.
- [ssh3](https://www.automicvault.com/pkg/brew/ssh3/) - Shares av.db curated category or tags: cli, networking, remote-access.
- [tiger-vnc](https://www.automicvault.com/pkg/brew/tiger-vnc/) - Shares av.db curated category or tags: cli, networking, remote-access.

## Combined YAML source

View the package source record on GitHub. [combined/telnet.yml](https://github.com/automic-vault/db/blob/main/combined/telnet.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
