# 使用 Homebrew, Nix 安装 termsvg

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

## 安装

```sh
sudo av install brew:termsvg
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install termsvg
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#termsvg
```

  证据: nixpkgs package indexes: pkgs/by-name/te/termsvg/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:termsvg
- **软件包管理器:** Homebrew
- **版本:** 0.11.0
- **来源摘要:** Record, share and export your terminal as a animated SVG image
- **主页:** <https://github.com/MrMarble/termsvg>
- **仓库:** <https://github.com/MrMarble/termsvg>
- **最后更新:** 2026-07-26T00:50:35+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- termsvg (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.11.0
## 项目历史与用法

TermSVG is a Go CLI for recording, replaying, and exporting terminal sessions as animated SVG files. Its project history is tied to the asciinema ecosystem because it records in asciicast format and can interoperate with asciinema recordings.

### 项目历史

The GitHub repository was created in August 2020, with the first listed GitHub release, v0.1.1, appearing in February 2022. The README presents it as an all-in-one terminal recording tool with subcommands for recording (`rec`), playback (`play`), and SVG export (`export`).

Release notes show the project moving from initial releases in 2022 to later rendering and platform work: v0.7.0 added export customization, v0.8.0 added border/window rendering options, v0.9.0 added Windows support, and v0.10.0 added styled text support for bold, italic, dim, and underline.

### 采用历史

The README documents installation through precompiled GitHub releases, `go install`, and an install script, while the input package facts show Brew and Nix packaging. A 2022 project issue asking for Homebrew-style distribution framed package-manager availability as a way to broaden access beyond local compilation.

### 使用方式

TermSVG is used by running `termsvg rec <filename>` to record a terminal session, `termsvg play <filename>` to replay it, and `termsvg export <filename>` to generate an SVG. The README notes pause/resume during recording, command selection with `--command`, playback speed controls, idle-time limiting, output naming, and optional SVG minification.

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

Package-oriented users care about termsvg because animated SVG terminal demos fit naturally in READMEs and package pages without requiring hosted video. Its asciicast compatibility also lets it sit between terminal recorders and static documentation assets.

### 时间线

- 2020: GitHub repository created.
- 2022: v0.1.1 released and early v0.x releases established record/play/export behavior.
- 2023: v0.7.0 added export customization options.
- 2024: v0.9.0 added Windows support.
- 2025: v0.10.0 added bold, italic, dim, and underline text support.

### Related projects

- TermSVG explicitly uses the asciinema asciicast format and can export asciicast recordings to SVG.
- It is adjacent to termshot: termshot creates static PNG screenshots of command output, while termsvg records and exports terminal sessions as animated SVG.

### 来源

- <https://api.github.com/repos/MrMarble/termsvg>
- <https://api.github.com/repos/MrMarble/termsvg/releases?per_page=100>
- <https://github.com/MrMarble/termsvg>
- <https://github.com/MrMarble/termsvg/issues/1>
- <https://raw.githubusercontent.com/MrMarble/termsvg/master/README.md>
- source_facts.package-manager


## 安全说明

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

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

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

- Nix - termsvg: normalized package name match | nixpkgs package indexes: pkgs/by-name/te/termsvg/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

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


## 来源

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