macOS
brew install ttydlocal Homebrew formula metadata
安装
brew install ttydlocal Homebrew formula metadata
sudo apk add ttydAlpine Linux edge package indexes · ttyd · 来源: dl-cdn.alpinelinux.org
sudo dnf install ttydFedora Rawhide package metadata · ttyd · 来源: dl.fedoraproject.org
nix profile install nixpkgs#ttydnixpkgs package indexes · pkgs/by-name/tt/ttyd/package.nix · 来源: api.github.com
sudo pacman -S ttydArch Linux sync databases · ttyd · 来源: geo.mirror.pkgbuild.com
sudo apt install ttydUbuntu 24.04 LTS package indexes · ttyd · 来源: archive.ubuntu.com
sudo zypper install ttydopenSUSE Tumbleweed package metadata · ttyd · 来源: download.opensuse.org
scoop install main/ttydScoop official bucket manifest trees · bucket/ttyd.json · 来源: api.github.com
winget install --id tsl0922.ttyd -eWindows Package Manager source index · tsl0922.ttyd · 来源: cdn.winget.microsoft.com
概览
Command-line tool for sharing terminal over the web
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
ttyd | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/tsl0922/ttyd
安装元数据
| 软件包键 | brew:ttyd |
|---|---|
| 版本 | 1.7.7 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/ttyd |
| 主页 | https://tsl0922.github.io/ttyd/ |
| 仓库 | https://github.com/tsl0922/ttyd |
| 上游文档 | https://github.com/tsl0922/ttyd#readme |
| 许可证 | MIT |
| 源码归档 | https://github.com/tsl0922/ttyd/archive/refs/tags/1.7.7.tar.gz |
| 最后更新 | 2026-06-22T14:06:31-07:00 |
| Pulse | updated |
| 依赖 | json-c, libevent, libuv, libwebsockets, openssl@3 |
| 构建依赖 | cmake |
| macOS 提供的库 | vim |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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 -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.