# Install ttyrec with Homebrew, apt, MacPorts

Terminal interaction recorder and player. Version 1.0.8 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:ttyrec
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install ttyrec
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ttyrec
```

  Evidence: MacPorts ports tree: sysutils/ttyrec/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install ttyrec
```

  Evidence: Debian stable package indexes: ttyrec from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## Package facts

- **Package key:** brew:ttyrec
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/ttyrec>
- **Version:** 1.0.8
- **Source summary:** Terminal interaction recorder and player
- **Homepage:** <http://0xcc.net/ttyrec/>
- **Upstream docs:** <http://0xcc.net/ttyrec>
- **License:** BSD-4-Clause
- **Source archive:** <https://deb.debian.org/debian/pool/main/t/ttyrec/ttyrec_1.0.8.orig.tar.gz>
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- ttyplay (cli)
- ttyrec (cli)
- ttytime (cli)
- ttyplay (alias)
- ttyrec (alias)
- ttytime (alias)

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.0.8
- Local data: ok
- Upstream repository: http://0xcc.net/ttyrec/
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

ttyrec is a tty recorder and playback tool for terminal sessions. The official page says recorded data can be replayed with `ttyplay`, and describes ttyrec as derived from the Unix `script` command with added timing information at microsecond accuracy.

### Project history

The official 0xcc page records ttyrec 1.0 as released on 2000-12-27, calling it the first version. The same page was last modified in 2006 and lists ttyrec 1.0.8 as the 2006-06-11 release.

ttyrec's model was deliberately small: record terminal bytes plus timing, then play them back. The page says it can record programs running on a tty such as Emacs in terminal mode, vi, lynx, or arbitrary tty programs.

### Adoption history

The official page links a tarball, RPM packages, and CVS, and the supplied package facts show continued packaging in Homebrew, Debian, MacPorts, and Ubuntu.

The project also seeded a small ecosystem around terminal recording. The official links list IPBT, TTYPLAYER, Term::TtyRec, x11rec, and related experiments; ttygif later used ttyrec files as its input format.

### How it is used

The basic documented workflow is `ttyrec` to record an interactive shell, `ttyrec -e command` to record a specific command, and `ttyplay ttyrecord` to replay the result. Playback can be sped up, slowed down, reset to normal speed, or watched in real time with `ttyplay -p`.

The official page also documents `ttytime` for measuring recorded data duration, gzip/gunzip handling for large recordings, a uuencode-based file-transfer option, and an inetd-based `ttyplay` server for serving recordings over telnet.

### Why package nerds care

ttyrec is historically significant because it is one of the compact ancestors of terminal demo tooling: before browser terminals and asciinema-style casts, it gave Unix users a packageable format for recording and replaying terminal work.

For package maintainers, it remains a small C utility with multiple executables (`ttyrec`, `ttyplay`, and `ttytime`) and a long tail of dependent or adjacent tools, especially converters and web players.

### Timeline

- 2000: ttyrec 1.0 released as the first version.
- 2003: TTYPLAYER added to the official links.
- 2005: IPBT added to the official links.
- 2006: ttyrec 1.0.8 released with a playback time-drift reduction hack.

### Related projects

- The official page lists IPBT, TTYPLAYER, Term::TtyRec, x11rec, and chatty as related links.
- ttygif is a later converter that uses ttyrec recordings as input.

### Sources

- <http://0xcc.net/ttyrec>
- source_facts.executables
- source_facts.package-manager


## 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:** ttyrec
- **Version Scheme:** 0
- **Revision:** 1
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Debian apt - ttyrec - 1.1.7.1-1: normalized package name match | Debian stable package indexes: ttyrec from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Terminal interaction recorder and player (for tty) | https://github.com/ovh/ovh-ttyrec
- Ubuntu apt - ttyrec - 1.0.8-5.1: normalized package name match | Ubuntu 24.04 LTS package indexes: ttyrec from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Terminal interaction recorder and player (for tty)
- MacPorts - ttyrec: normalized package name match | MacPorts ports tree: sysutils/ttyrec/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 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.
- [ttygif](https://www.automicvault.com/pkg/brew/ttygif/) - Popular package that depends on this formula.
- [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.
- [ccat](https://www.automicvault.com/pkg/brew/ccat/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [claude-squad](https://www.automicvault.com/pkg/brew/claude-squad/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [clive](https://www.automicvault.com/pkg/brew/clive/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [colordiff](https://www.automicvault.com/pkg/brew/colordiff/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [colormake](https://www.automicvault.com/pkg/brew/colormake/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [ipbt](https://www.automicvault.com/pkg/brew/ipbt/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, playback, recording.
- [vhs](https://www.automicvault.com/pkg/brew/vhs/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, recorder, recording.
- [termsvg](https://www.automicvault.com/pkg/brew/termsvg/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, recording, terminal.

## Combined YAML source

View the package source record on GitHub. [combined/ttyrec.yml](https://github.com/automic-vault/db/blob/main/combined/ttyrec.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
