# Install termsvg with Homebrew, Nix

Record, share and export your terminal as a animated SVG image. Version 0.11.0 via Homebrew; verified 2026-07-26. Also installable with nix: nix profile install nixpkgs#termsvg.

## 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
- **Version:** 0.11.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>
- **Last updated:** 2026-07-26T00:50:35+02:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- termsvg (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.11.0
## 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

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


## Combined YAML source

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


## Sources

- 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
