# Install termrec with Homebrew, apk, apt, zypper

Record videos of terminal output. Version 0.19 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:termrec
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install termrec
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add termrec
```

  Evidence: Alpine Linux edge package indexes: termrec from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Ubuntu apt (92%):

```sh
sudo apt install libtty-dev
```

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

- zypper (92%):

```sh
sudo zypper install libtty-devel
```

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

## Package facts

- **Package key:** brew:termrec
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/termrec>
- **Version:** 0.19
- **Source summary:** Record videos of terminal output
- **Homepage:** <https://angband.pl/termrec.html>
- **Repository:** <https://github.com/kilobyte/termrec>
- **Upstream docs:** <https://angband.pl/termrec.html>
- **License:** LGPL-3.0-or-later
- **Source archive:** <https://github.com/kilobyte/termrec/archive/refs/tags/v0.19.tar.gz>
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- termcat (cli)
- termplay (cli)
- termrec (cli)
- termtime (cli)
- termcat (alias)
- termplay (alias)
- termrec (alias)
- termtime (alias)

## Dependencies

- xz

## Build dependencies

- autoconf
- automake
- libtool

## Install behavior

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

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.19
- Local data: ok
- Upstream repository: https://github.com/kilobyte/termrec
- Upstream latest detected: v0.19 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

termrec is a terminal-session recorder and player for making 'videos' of terminal output. Its official page places it in the same family as ttyrec, nh-recorder, and script/replay.

### Project history

The GitHub repository dates to April 2010, but the official project page presents termrec as part of the older ttyrec-style recording culture. Rather than capturing pixels, it records terminal output and timing so sessions can be replayed, converted, measured, or inspected.

Version 0.18 is documented as a substantial modernization point: the library API became stable, asciicast v1 and v2 support was added, zstd compression was added, CURL fetching appeared, proxyrec was dropped, and tty emulation gained improvements such as CJK width, combining characters, overstrike, 24-bit color, more ANSI codes, and window-title storage.

### Adoption history

termrec is a smaller, specialist package. This batch input lists apk, Homebrew, Ubuntu's libtty-dev, and zypper's libtty-devel, which suggests it is packaged both as command-line utilities and as a library/API dependency in some distributions.

### How it is used

The official page documents several tools: `termrec` records a shell or command, `termplay` replays recordings, `termtime` measures recording lengths, and `termcat` copies or converts ttyrec files. Older documentation also described `proxyrec`, a TELNET proxy used to capture network sessions.

The T2T proxy section shows a concrete historical niche: capturing MUD/TELNET play sessions for later export. That is a classic terminal-recording use case alongside demos, debugging, and sharing interactive command-line runs.

### Why package nerds care

termrec matters to package nerds because it connects old ttyrec artifacts with newer terminal-sharing formats such as asciicast, while preserving low-level terminal semantics. Its value is less broad popularity and more interoperability: conversion, playback, compression, and a stable library API for terminal recordings.

### Timeline

- 2010: Public GitHub repository created on April 20.
- Version 0.18: Stable library API and ABI declared.
- Version 0.18: asciicast v1/v2, zstd compression, CURL fetching, and improved tty emulation added.
- Version 0.18: proxyrec dropped from the current release line.

### Related projects

- The official page names ttyrec, nh-recorder, and Joey Hess' script/replay as related predecessors. With asciicast support, termrec is also adjacent to the asciinema ecosystem.

### Sources

- GitHub repository metadata: https://api.github.com/repos/kilobyte/termrec
- Input source_facts.package-manager
- Official project page: https://angband.pl/termrec.html


## Security Notes

broad file, network, media, or database tool signal.

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal

## Source Database Details

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

## Other Package-Manager Records

- Ubuntu apt - libtty-dev - 0.19-2.1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libtty-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | terminal/ttyrec library -- development | https://angband.pl/termrec.html
- Ubuntu apt - libtty1t64 - 0.19-2.1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libtty1t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | terminal/ttyrec library -- runtime | https://angband.pl/termrec.html
- Ubuntu apt - termrec - 0.19-2.1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: termrec from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | terminal videos/scripts recorder and player | https://angband.pl/termrec.html
- apk - termrec - 0.19-r6: normalized package name match | Alpine Linux edge package indexes: termrec from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Program for recording videos of terminal output | https://angband.pl/termrec.html
- apk - termrec-dev - 0.19-r6: normalized package name match | Alpine Linux edge package indexes: termrec-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Program for recording videos of terminal output (development files) | https://angband.pl/termrec.html
- apk - termrec-doc - 0.19-r6: normalized package name match | Alpine Linux edge package indexes: termrec-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Program for recording videos of terminal output (documentation) | https://angband.pl/termrec.html
- zypper - libtty-devel - 0.19-1.22: normalized package name match | openSUSE Tumbleweed package metadata: libtty-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Library for Terminal Handling | http://angband.pl/termrec.html
- zypper - libtty1 - 0.19-1.22: normalized package name match | openSUSE Tumbleweed package metadata: libtty1 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Library for Terminal Handling | http://angband.pl/termrec.html
- zypper - termrec - 0.19-1.22: normalized package name match | openSUSE Tumbleweed package metadata: termrec from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Records Videos of Terminal Output | http://angband.pl/termrec.html


## Related links

- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [xz](https://www.automicvault.com/pkg/brew/xz/) - Runtime dependency declared by Homebrew.
- [autoconf](https://www.automicvault.com/pkg/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://www.automicvault.com/pkg/brew/automake/) - Build dependency declared by Homebrew.
- [libtool](https://www.automicvault.com/pkg/brew/libtool/) - Build dependency declared by Homebrew.
- [termframe](https://www.automicvault.com/pkg/brew/termframe/) - Shares av.db curated category or tags: cli, developer-tools, terminal, terminal-output, terminal-recording.
- [asciinema](https://www.automicvault.com/pkg/brew/asciinema/) - Shares av.db curated category or tags: cli, developer-tools, recording, terminal.
- [vhs](https://www.automicvault.com/pkg/brew/vhs/) - Shares av.db curated category or tags: cli, developer-tools, recording, terminal.
- [aha](https://www.automicvault.com/pkg/brew/aha/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [amtterm](https://www.automicvault.com/pkg/brew/amtterm/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [ansifilter](https://www.automicvault.com/pkg/brew/ansifilter/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [aoe](https://www.automicvault.com/pkg/brew/aoe/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [aurora](https://www.automicvault.com/pkg/brew/aurora/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [termsvg](https://www.automicvault.com/pkg/brew/termsvg/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, record, recording.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- 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
