# Install termsvg with Homebrew, Nix

Record, share and export your terminal as a animated SVG image. Version 0.10.0 via Homebrew; verified from local package data.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install termsvg
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

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

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

## Package facts

- **Package key:** brew:termsvg
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/termsvg>
- **Version:** 0.10.0
- **Source summary:** Record, share and export your terminal as a animated SVG image
- **Homepage:** <https://github.com/MrMarble/termsvg>
- **Repository:** <https://github.com/MrMarble/termsvg>
- **Upstream docs:** <https://github.com/MrMarble/termsvg#readme>
- **License:** GPL-3.0-only
- **Source archive:** <https://github.com/MrMarble/termsvg/archive/refs/tags/v0.10.0.tar.gz>
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- termsvg (cli)
- termsvg (alias)

## Build dependencies

- go

## 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.10.0
- Local data: ok
- Upstream repository: https://github.com/MrMarble/termsvg
- Upstream latest detected: v0.10.0 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## 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:** termsvg
- **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

- 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


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [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.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [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.
- [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.
- [et](https://www.automicvault.com/pkg/brew/et/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [vhs](https://www.automicvault.com/pkg/brew/vhs/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, recording, terminal.
- [sesh](https://www.automicvault.com/pkg/brew/sesh/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, session, terminal.
- [termframe](https://www.automicvault.com/pkg/brew/termframe/) - Both packages work with overlapping file formats or content types. Shared terms: cli, developer, developer-tools, recording, svg.

## Combined YAML source

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