Terminal capture · native SVG
Terminal output,ready to publish.
Capture a command, ANSI stream, or recording as a faithful SVG. Fonts, colour, animation, and source data travel in one file.
terminal-svg -o help.svg -- terminal-svg --help- Canvas
- 555 × 321
- Playback
- Pure SVG
- Font
- Embedded
Capture workflow
Five ways in.
One honest file out.
terminal-svg reads the same things your terminal does. Choose the input you already have; every route ends in a portable SVG.
Read the CLI reference- 01
Run a command
Capture under a real PTY, so colour and interactive output stay switched on.
terminal-svg -o help.svg -- terminal-svg --help - 02
Pipe ANSI
Turn an existing coloured stream into a finished document.
ls --color=always | terminal-svg - 03
Render a capture
Resolve cursor movement, clears, progress bars, and terminal state.
terminal-svg dump.ansi - 04
Replay a recording
Render asciicast v2 or v3 as compact, pure-SVG animation.
terminal-svg demo.cast - 05
Rework an SVG
Re-theme or resize a terminal-svg file without making the capture again.
terminal-svg demo.svg -t nord
Round-trip by design
Not a screenshot with a new extension.
Every terminal-svg file can carry its original ANSI or asciicast source alongside the effective render options. Re-theme it, resize it, or recover the recording later.
terminal-svg demo.svg -t github-dark -o dark.svgterminal-svg extract demo.svg -o demo.castBuilt-in themes
Same capture.
Different destination.
Nine documented palettes, custom TOML themes, and light/dark pairs for SVGs that follow the viewer’s colour scheme.
Explore theme optionsGet terminal-svg
One command.
Your first SVG.
Latest: v0.6.0, released 8 July 2026.
brew install russmckendrick/tap/terminal-svgterminal-svg -o help.svg -- terminal-svg --help