Automic VaultAutomic Vault

brew

Install ttyd with Homebrew, apk, dnf, MacPorts, Nix, pacman, scoop, apt, winget, zypper

Command-line tool for sharing terminal over the web. Version 1.7.7 via Homebrew; verified 2026-06-22.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install ttyd

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install ttyd

MacPorts ports tree · net/ttyd/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add ttyd

Alpine Linux edge package indexes · ttyd · source: dl-cdn.alpinelinux.org

Fedora dnfverified · 92%
sudo dnf install ttyd

Fedora Rawhide package metadata · ttyd · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#ttyd

nixpkgs package indexes · pkgs/by-name/tt/ttyd/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S ttyd

Arch Linux sync databases · ttyd · source: geo.mirror.pkgbuild.com

Ubuntu aptverified · 92%
sudo apt install ttyd

Ubuntu 24.04 LTS package indexes · ttyd · source: archive.ubuntu.com

openSUSE zypperverified · 92%
sudo zypper install ttyd

openSUSE Tumbleweed package metadata · ttyd · source: download.opensuse.org

Windows

Scoopverified · 92%
scoop install main/ttyd

Scoop official bucket manifest trees · bucket/ttyd.json · source: api.github.com

Windows Package Managerverified · 92%
winget install --id tsl0922.ttyd -e

Windows Package Manager source index · tsl0922.ttyd · source: cdn.winget.microsoft.com

overview

Package summary

Command-line tool for sharing terminal over the web

Commands and aliases

  • ttyd

history

Project history and usage

ttyd is a command-line web terminal server: it runs a command on a host and exposes the resulting terminal session through a browser. Its own documentation describes the tool as a simple way to share a terminal over the web, with authentication, SSL, WebSocket-oriented terminal features, file-transfer support, and cross-platform builds.

Project history

The project reached its 1.0.0 tag in September 2016. Its manual page is dated September 2016 and identifies Shuanglei Tao as the author, pointing users to the GitHub project for bugs and further information.

ttyd belongs to the post-xterm.js generation of terminal-sharing tools: instead of replaying a recording, it runs an arbitrary command and places a browser terminal in front of it. The official README lists Wetty and GoTTY as alternatives, and the manual documents examples such as serving a login shell, opening Vim, or sharing a tmux session.

Adoption history

The project grew into a broadly packaged utility. Its README documents installation through Homebrew, MacPorts, Debian/Ubuntu, snap, OpenWrt, Homebrew-on-Linux, WinGet, Scoop, prebuilt release binaries, and source builds for Windows; the supplied package facts also list apk, dnf, nix, pacman, zypper, and winget package names.

That packaging spread matters because ttyd is often used at the boundary between local Unix tooling and web access: it lets a maintainer expose a shell, a tmux session, a container, or a single TUI application without deploying a full remote desktop stack.

How it is used

Typical usage is to run `ttyd <command>` and connect to the default web port, or to bind it behind a reverse proxy. The official manual includes examples for `ttyd login`, `ttyd vim`, `ttyd tmux new -A -s ttyd vim`, Docker-backed sessions, SSL setup, client options, and nginx proxying.

The README emphasizes terminal features that package users tend to care about when choosing a web terminal package: CJK and IME support, ZMODEM and trzsz transfers, Sixel output, SSL, basic authentication, custom commands, and builds for Unix-like systems, OpenWrt, and Windows.

Why package nerds care

For package-manager users, ttyd is the small, scriptable web-terminal answer to a recurring problem: expose exactly one command or shell over HTTP without installing a heavier web IDE. Its package availability across desktop, server, router, and Windows package ecosystems makes it a common comparison point for terminal-sharing formulas.

It is also a useful packaging specimen because it sits at the intersection of C networking libraries, browser terminal front ends, TLS options, and static/prebuilt binary distribution.

Timeline

  • 2016: Manual page dated September 2016.
  • 2016: 1.0.0 tag published.
  • 2024: 1.7.7 tag published.
  • 2026: README still documents Homebrew, MacPorts, Debian/Ubuntu, snap, OpenWrt, Windows package managers, and release binaries.

Related projects

  • The official README lists Wetty and GoTTY as alternatives.
  • The official manual demonstrates tmux and Docker as common companions for shared sessions.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 5 runtime dependencies.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
ttydcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version1.7.7
manager updated2026-06-22
local dataok
upstreamcurrent
latest detected1.7.7

https://github.com/tsl0922/ttyd

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:ttyd
Version1.7.7
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/ttyd
Homepagehttps://tsl0922.github.io/ttyd/
Repositoryhttps://github.com/tsl0922/ttyd
Upstream docshttps://github.com/tsl0922/ttyd#readme
LicenseMIT
Source archivehttps://github.com/tsl0922/ttyd/archive/refs/tags/1.7.7.tar.gz
Last updated2026-06-22T14:06:31-07:00
Pulseupdated
Dependenciesjson-c, libevent, libuv, libwebsockets, openssl@3
Build dependenciescmake
Uses from macOSvim
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namettyd
Version Scheme0
Revision11
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

ttyd

nix profile install nixpkgs#ttyd
  • normalized package name match
  • Matched by: Ttyd
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/tt/ttyd/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

ttyd 1.7.4-1build2

Share your terminal over the web

https://tsl0922.github.io/ttyd

sudo apt install ttyd
  • Section: universe/web
  • Architecture: amd64
  • 7 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Ttyd
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: ttyd from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

ttyd 1.7.7-r0

Share your terminal over the web

https://tsl0922.github.io/ttyd

sudo apk add ttyd
  • License: MIT
  • Architecture: x86_64
  • Source Package: ttyd
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Ttyd
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: ttyd from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

ttyd-doc 1.7.7-r0

Share your terminal over the web (documentation)

https://tsl0922.github.io/ttyd

sudo apk add ttyd-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: ttyd
  • normalized package name match
  • Matched by: Ttyd
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: ttyd-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

ttyd 1.7.7-9.fc44

Share your terminal over HTTP

https://github.com/tsl0922/ttyd

sudo dnf install ttyd
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: ttyd
  • 8 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Ttyd
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: ttyd from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

ttyd 1.7.7-3

Share your terminal over the web

https://tsl0922.github.io/ttyd/

sudo pacman -S ttyd
  • License: MIT
  • Architecture: x86_64
  • 5 dependencies
  • normalized package name match
  • Matched by: Ttyd
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: ttyd from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

ttyd 1.7.7-1.4

Share your terminal over the web

https://tsl0922.github.io/ttyd/

sudo zypper install ttyd
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: ttyd
  • 7 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Ttyd
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: ttyd from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

ttyd

sudo port install ttyd
  • normalized package name match
  • Matched by: Ttyd
MacPorts ports tree · api.github.com · MacPorts ports tree: net/ttyd/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/ttyd

scoop install main/ttyd
  • normalized package name match
  • Matched by: Ttyd
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/ttyd.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

tsl0922.ttyd

winget install --id tsl0922.ttyd -e
  • normalized package name match
  • Matched by: Ttyd
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: tsl0922.ttyd from https://cdn.winget.microsoft.com/cache/source.msix

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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