# 使用 Homebrew, Nix, apt, MacPorts 安装 ovh-ttyrec

查看 ovh-ttyrec 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ovh-ttyrec
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ttyrec
```

  证据: 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
```

  证据: 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
```

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

## 软件包事实

- **软件包键:** brew:ovh-ttyrec
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/ovh-ttyrec>
- **版本:** 1.2.0.0
- **来源摘要:** Enhanced (but compatible) version of the classic ttyrec
- **主页:** <https://github.com/ovh/ovh-ttyrec>
- **仓库:** <https://github.com/ovh/ovh-ttyrec>
- **上游文档:** <https://github.com/ovh/ovh-ttyrec#readme>
- **许可证:** BSD-3-Clause AND BSD-4-Clause-UC
- **源码归档:** <https://github.com/ovh/ovh-ttyrec/archive/refs/tags/v1.2.0.0.tar.gz>
- **最后更新:** 2026-07-18T21:12:51-04:00
- **已生成:** 2026-07-26T07:20:29+00:00

## 可执行文件

- ttyplay (cli)
- ttyrec (cli)
- ttytime (cli)
- ttyplay (别名)
- ttyrec (别名)
- ttytime (别名)

## 依赖

- zstd

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-26
- 管理器版本: 1.2.0.0
- 管理器更新时间: 2026-07-18
- 本地数据: OK
- 上游仓库: https://github.com/ovh/ovh-ttyrec
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

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.

### 项目历史

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.

### 采用历史

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.

### 使用方式

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.

### 为什么软件包爱好者会关心

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.

### 时间线

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

### 来源

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


## 安全说明

没有找到 ovh-ttyrec 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

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

## 其他软件包管理器记录

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


## 相关链接

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


## 来源

- 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
