# ttyd mit Homebrew, apk, dnf, MacPorts, Nix, pacman, apt, zypper, scoop, winget installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für ttyd in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:ttyd
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install ttyd
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ttyd
```

  Evidenz: MacPorts ports tree: net/ttyd/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add ttyd
```

  Evidenz: Alpine Linux edge package indexes: ttyd from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install ttyd
```

  Evidenz: Fedora Rawhide package metadata: ttyd from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#ttyd
```

  Evidenz: nixpkgs package indexes: pkgs/by-name/tt/ttyd/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S ttyd
```

  Evidenz: Arch Linux sync databases: ttyd from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- Ubuntu apt (92%):

```sh
sudo apt install ttyd
```

  Evidenz: Ubuntu 24.04 LTS package indexes: ttyd from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

- zypper (92%):

```sh
sudo zypper install ttyd
```

  Evidenz: openSUSE Tumbleweed package metadata: ttyd from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/ttyd
```

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

- winget (92%):

```sh
winget install --id tsl0922.ttyd -e
```

  Evidenz: Windows Package Manager source index: tsl0922.ttyd from https://cdn.winget.microsoft.com/cache/source.msix

## Paketfakten

- **Paketschlüssel:** brew:ttyd
- **Paketmanager:** Homebrew
- **Paketmanager-Seite:** <https://formulae.brew.sh/formula/ttyd>
- **Version:** 1.7.7
- **Quellzusammenfassung:** Command-line tool for sharing terminal over the web
- **Homepage:** <https://tsl0922.github.io/ttyd/>
- **Repository:** <https://github.com/tsl0922/ttyd>
- **Upstream-Dokumentation:** <https://tsl0922.github.io/ttyd/>
- **Lizenz:** MIT
- **Quellarchiv:** <https://github.com/tsl0922/ttyd/archive/refs/tags/1.7.7.tar.gz>
- **Zuletzt aktualisiert:** 2026-07-27T08:04:08Z
- **Generiert:** 2026-08-04T22:13:35+00:00

## Executables

- ttyd (cli)
- ttyd (Alias)

## Abhängigkeiten

- json-c
- libevent
- libuv
- libwebsockets
- openssl@3

## Build-Abhängigkeiten

- cmake

## Von macOS bereitgestellte Bibliotheken

- vim

## Installationsverhalten

- Post-install-Hook: nicht definiert
- Bottle: verfügbar auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version und Aktualität

- Seite generiert: 2026-08-04
- Manager-Version: 1.7.7
- Manager aktualisiert: 2026-07-27
- lokale Daten: OK
- Upstream-Repository: https://github.com/tsl0922/ttyd
- neueste erkannte Version: 1.7.7 (aktuell)
## Projektgeschichte und Nutzung

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.

### Projektgeschichte

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.

### Adoptionsgeschichte

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.

### Wie es verwendet wird

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.

### Warum Paket-Nerds sich dafür interessieren

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.

### Zeitleiste

- 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.

### Quellen

- <https://github.com/tsl0922/ttyd#readme>
- <https://github.com/tsl0922/ttyd/blob/main/man/ttyd.man.md>
- official git tags from https://github.com/tsl0922/ttyd
- source_facts.package-manager


## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger-Risiko:** grün / niedrig
- narrow executable package without higher-risk signals

## Details aus der Quelldatenbank

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** ttyd
- **Version Scheme:** 0
- **Revision:** 12
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Andere Paketmanager-Einträge

- Nix - ttyd: normalized package name match | nixpkgs package indexes: pkgs/by-name/tt/ttyd/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - ttyd - 1.7.4-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: ttyd from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Share your terminal over the web | https://tsl0922.github.io/ttyd
- apk - ttyd - 1.7.7-r0: normalized package name match | Alpine Linux edge package indexes: ttyd from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Share your terminal over the web | https://tsl0922.github.io/ttyd
- apk - ttyd-doc - 1.7.7-r0: normalized package name match | Alpine Linux edge package indexes: ttyd-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Share your terminal over the web (documentation) | https://tsl0922.github.io/ttyd
- dnf - ttyd - 1.7.7-11.fc45: normalized package name match | Fedora Rawhide package metadata: ttyd from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Share your terminal over HTTP | https://github.com/tsl0922/ttyd
- pacman - ttyd - 1.7.7-3: normalized package name match | Arch Linux sync databases: ttyd from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Share your terminal over the web | https://tsl0922.github.io/ttyd/
- zypper - ttyd - 1.7.7-1.6: normalized package name match | openSUSE Tumbleweed package metadata: ttyd from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Share your terminal over the web | https://tsl0922.github.io/ttyd/
- MacPorts - ttyd: normalized package name match | MacPorts ports tree: net/ttyd/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/ttyd: normalized package name match | Scoop official bucket manifest trees: bucket/ttyd.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - tsl0922.ttyd: normalized package name match | Windows Package Manager source index: tsl0922.ttyd from https://cdn.winget.microsoft.com/cache/source.msix


## Verwandte Links

- [Source-control packages](https://pkg.so/de/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/de/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/de/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Web development packages](https://pkg.so/de/web-dev-tools/) - Matched web development metadata.
- [openssl@3](https://pkg.so/de/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [libevent](https://pkg.so/de/brew/libevent/) - Runtime dependency declared by Homebrew.
- [cmake](https://pkg.so/de/brew/cmake/) - Build dependency declared by Homebrew.
- [vhs](https://pkg.so/de/brew/vhs/) - Popular package that depends on this formula.
- [clive](https://pkg.so/de/brew/clive/) - Popular package that depends on this formula.
- [websocketd](https://pkg.so/de/brew/websocketd/) - Shares pkgdb curated category or tags: cli, networking, server, websocket.
- [shellinabox](https://pkg.so/de/brew/shellinabox/) - Shares pkgdb curated category or tags: cli, networking, server, web-terminal.
- [tty-share](https://pkg.so/de/brew/tty-share/) - Shares pkgdb curated category or tags: cli, networking, terminal-sharing, web-terminal.
- [openldap](https://pkg.so/de/brew/openldap/) - Shares pkgdb curated category or tags: cli, networking, server.
- [httpd](https://pkg.so/de/brew/httpd/) - Shares pkgdb curated category or tags: cli, networking, server.
- [rabbitmq](https://pkg.so/de/brew/rabbitmq/) - Shares pkgdb curated category or tags: cli, networking, server.
- [bind](https://pkg.so/de/brew/bind/) - Shares pkgdb curated category or tags: cli, networking, server.
- [websocat](https://pkg.so/de/brew/websocat/) - Shares pkgdb curated category or tags: cli, networking, websocket.
- [freeradius-server](https://pkg.so/de/brew/freeradius-server/) - Both packages work with overlapping file formats or content types. Shared terms: cli, json, json-c, networking, openssl.

## Combined YAML source

View the package source record on GitHub. [combined/ttyd.yml](https://github.com/mxcl/pkgdb/blob/main/combined/ttyd.yml)


## Quellen

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
