macOS
brew install ttydlocal Homebrew formula metadata
sudo port install ttydMacPorts ports tree · net/ttyd/Portfile · source: api.github.com
brew
Command-line tool for sharing terminal over the web. Version 1.7.7 via Homebrew; verified 2026-06-22.
install
brew install ttydlocal Homebrew formula metadata
sudo port install ttydMacPorts ports tree · net/ttyd/Portfile · source: api.github.com
sudo apk add ttydAlpine Linux edge package indexes · ttyd · source: dl-cdn.alpinelinux.org
sudo dnf install ttydFedora Rawhide package metadata · ttyd · source: dl.fedoraproject.org
nix profile install nixpkgs#ttydnixpkgs package indexes · pkgs/by-name/tt/ttyd/package.nix · source: api.github.com
sudo pacman -S ttydArch Linux sync databases · ttyd · source: geo.mirror.pkgbuild.com
sudo apt install ttydUbuntu 24.04 LTS package indexes · ttyd · source: archive.ubuntu.com
sudo zypper install ttydopenSUSE Tumbleweed package metadata · ttyd · source: download.opensuse.org
scoop install main/ttydScoop official bucket manifest trees · bucket/ttyd.json · source: api.github.com
winget install --id tsl0922.ttyd -eWindows Package Manager source index · tsl0922.ttyd · source: cdn.winget.microsoft.com
overview
Command-line tool for sharing terminal over the web
history
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.
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.
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.
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.
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
ttyd | cli | global executable |
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.
https://github.com/tsl0922/ttyd
install metadata
| Package key | brew:ttyd |
|---|---|
| Version | 1.7.7 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/ttyd |
| Homepage | https://tsl0922.github.io/ttyd/ |
| Repository | https://github.com/tsl0922/ttyd |
| Upstream docs | https://github.com/tsl0922/ttyd#readme |
| License | MIT |
| Source archive | https://github.com/tsl0922/ttyd/archive/refs/tags/1.7.7.tar.gz |
| Last updated | 2026-06-22T14:06:31-07:00 |
| Pulse | updated |
| Dependencies | json-c, libevent, libuv, libwebsockets, openssl@3 |
| Build dependencies | cmake |
| Uses from macOS | vim |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | ttyd |
| Version Scheme | 0 |
| Revision | 11 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
ttyd
nix profile install nixpkgs#ttydttyd 1.7.4-1build2
Share your terminal over the web
https://tsl0922.github.io/ttyd
sudo apt install ttydttyd 1.7.7-r0
Share your terminal over the web
https://tsl0922.github.io/ttyd
sudo apk add ttydttyd-doc 1.7.7-r0
Share your terminal over the web (documentation)
https://tsl0922.github.io/ttyd
sudo apk add ttyd-docttyd 1.7.7-9.fc44
Share your terminal over HTTP
https://github.com/tsl0922/ttyd
sudo dnf install ttydttyd 1.7.7-3
Share your terminal over the web
https://tsl0922.github.io/ttyd/
sudo pacman -S ttydttyd 1.7.7-1.4
Share your terminal over the web
https://tsl0922.github.io/ttyd/
sudo zypper install ttydttyd
sudo port install ttydmain/ttyd
scoop install main/ttydtsl0922.ttyd
winget install --id tsl0922.ttyd -esource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.