# Install ovh-ttyrec with Homebrew, Nix, apt, MacPorts

Enhanced (but compatible) version of the classic ttyrec. Version 1.2.0.0 via Homebrew; verified 2026-07-18. Also installable with nix: nix profile install nixpkgs#ovh-ttyrec.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install ovh-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

- Nix (92%):

```sh
nix profile install nixpkgs#ovh-ttyrec
```

  Evidence: nixpkgs package indexes: pkgs/by-name/ov/ovh-ttyrec/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- 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:ovh-ttyrec
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/ovh-ttyrec>
- **Version:** 1.2.0.0
- **Source summary:** Enhanced (but compatible) version of the classic ttyrec
- **Homepage:** <https://github.com/ovh/ovh-ttyrec>
- **Repository:** <https://github.com/ovh/ovh-ttyrec>
- **Upstream docs:** <https://github.com/ovh/ovh-ttyrec#readme>
- **License:** BSD-3-Clause AND BSD-4-Clause-UC
- **Source archive:** <https://github.com/ovh/ovh-ttyrec/archive/refs/tags/v1.2.0.0.tar.gz>
- **Last updated:** 2026-07-18T21:12:51-04:00
- **Generated:** 2026-07-26T07:20:29+00:00

## Executables

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

## Dependencies

- zstd

## 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-26
- Package-manager version: 1.2.0.0
- Package-manager updated: 2026-07-18
- Local data: ok
- Upstream repository: https://github.com/ovh/ovh-ttyrec
- info: No cached GitHub release or tag data was available.
## Project history and usage

ovh-ttyrec is a portable terminal-session recorder and player that extends the classic ttyrec while preserving its recording format and command-line compatibility. It ships ttyrec for capture, ttyplay for replay, and ttytime for reporting a recording's duration.

### Project history

The project identifies Satoru Takabayashi's 2000 ttyrec as its direct predecessor and the Berkeley script program from 1980 as the older foundation. OVH's implementation preserves drop-in compatibility while adding portable build detection, zstd compression, file rotation, idle locking and termination, pipe-based recording, and extended timestamps.

The official GitHub repository was created in May 2019, and its release series began there with 1.1.5.0 in June 2019. Version 1.2.0.0 arrived in June 2026 with post-2038 timestamp support and playback hardening while retaining format compatibility.

### Adoption history

The project targets Linux, the BSD family, macOS, Haiku, and OpenSolaris, and is intended to build on POSIX systems that provide pseudoterminal APIs. Its repository includes Debian and RPM packaging workflows, while the supplied package metadata records distribution through Homebrew and Nix as ovh-ttyrec.

### How it is used

Running ttyrec without arguments opens the user's shell and records it until exit; ttyplay replays the resulting ttyrecord file. The recorder can also wrap commands such as ssh or screen, rotate recordings, compress output with zstd, and enforce idle-session locking or termination.

### Why package nerds care

Package maintainers get a small C implementation with broad POSIX portability, built-in man pages, and native Debian and RPM build targets. Its chief appeal is modernization without ecosystem fracture: existing ttyrec recordings, scripts, and ttyplay workflows remain usable while optional compression and operational controls are added.

### Timeline

- 1980: The Berkeley script program, the lineage's original foundation, is copyrighted.
- 2000: Satoru Takabayashi creates the original ttyrec.
- 2019: The ovh-ttyrec repository is created and the 1.1 release series is published.
- 2026: Version 1.2.0.0 adds post-2038-compatible timestamps and playback hardening.

### Related projects

- ttyrec: The original terminal recorder that ovh-ttyrec extends compatibly.
- script: The Berkeley terminal-session recorder on which the original ttyrec was based.
- zstd: The compression algorithm supported for on-the-fly compressed recordings.

### Sources

- <https://api.github.com/repos/ovh/ovh-ttyrec>
- <https://api.github.com/repos/ovh/ovh-ttyrec/releases?per_page=100>
- <https://github.com/ovh/ovh-ttyrec#readme>
- <https://github.com/ovh/ovh-ttyrec/releases>
- source_facts.package-manager


## Security Notes

No matching local secret-handling manifest was found for ovh-ttyrec. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

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

## Other Package-Manager Records

- Nix - ovh-ttyrec: normalized package name match | nixpkgs package indexes: pkgs/by-name/ov/ovh-ttyrec/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - ttyrec: installed executable or alias match | MacPorts ports tree: sysutils/ttyrec/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Debian apt - ttyrec - 1.1.7.1-1: installed executable or alias 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: installed executable or alias 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)


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Archive and compression packages](https://www.automicvault.com/pkg/archive-compression-tools/) - Matched archive or compression metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [zstd](https://www.automicvault.com/pkg/brew/zstd/) - Runtime dependency declared by Homebrew.
- [ttygif](https://www.automicvault.com/pkg/brew/ttygif/) - Popular package that depends on this formula.
- [cocot](https://www.automicvault.com/pkg/brew/cocot/) - Shares av.db curated category or tags: cli, system, terminal, tty.
- [nerdfetch](https://www.automicvault.com/pkg/brew/nerdfetch/) - Shares av.db curated category or tags: cli, posix, system, terminal.
- [nsh](https://www.automicvault.com/pkg/brew/nsh/) - Shares av.db curated category or tags: cli, posix, system, terminal.
- [tio](https://www.automicvault.com/pkg/brew/tio/) - Shares av.db curated category or tags: cli, system, terminal, tty.
- [abduco](https://www.automicvault.com/pkg/brew/abduco/) - Shares av.db curated category or tags: cli, system, terminal.
- [acl](https://www.automicvault.com/pkg/brew/acl/) - Shares av.db curated category or tags: cli, posix, system.
- [ansiweather](https://www.automicvault.com/pkg/brew/ansiweather/) - Shares av.db curated category or tags: cli, system, terminal.
- [bashish](https://www.automicvault.com/pkg/brew/bashish/) - Shares av.db curated category or tags: cli, system, terminal.
- [window-size](https://www.automicvault.com/pkg/npm/window-size/) - Local package facts share a topical domain. Shared terms: cli, system, terminal, terminal-tools, tty.
- [mux](https://www.automicvault.com/pkg/npm/mux/) - Local package facts share a topical domain. Shared terms: cli, system, terminal, terminal-tools.

## Combined YAML source

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


## Sources

- Nucleus package database
- 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
