VHS creates terminal demonstrations from simple text-based scripts known as tape files. Instead of manually recording a perfect run through a command-line program, you describe the terminal dimensions, commands, keystrokes, pauses and other actions that should occur. VHS then executes the instructions in its virtual terminal and renders the result.
This makes demonstrations reproducible. A tape can be kept alongside a software project, edited like source code and regenerated whenever commands or output change. VHS can also work in the other direction by recording terminal actions into a tape file which can subsequently be edited.
The approach is particularly useful for command-line documentation, automated demonstrations and integration testing where repeatability matters more than capturing a spontaneous terminal session.
This is free and open source software.
Key Features
- Script terminal demonstrations with human-readable tape files.
- Output animations as GIF, MP4 or WebM, or export individual frames as PNG images.
- Record interactive terminal actions and convert them into editable tape instructions.
- Control terminal width and height using pixels or character rows and columns.
- Configure font family, font size, letter spacing and line height.
- Choose terminal colour themes or define a custom theme.
- Adjust typing speed globally or for individual commands.
- Simulate text entry, cursor keys, control-key combinations, scrolling and other keyboard operations.
- Wait for text or other conditions before continuing a scripted sequence.
- Hide commands from the rendered output while still executing them.
- Take screenshots at selected points during a demonstration.
- Source reusable commands from other tape files.
- Set environment variables and declare programs required by a tape.
- Control frame rate, playback speed, loop offset and cursor blinking.
- Includes an SSH server so VHS can be self-hosted and invoked remotely.
- Can publish rendered demonstrations for convenient sharing.
Website: github.com/charmbracelet/vhs
Support:
Developer: Charmbracelet, Inc
License: MIT License

VHS is written in Go. Learn Go with our recommended free books and free tutorials.
Related Software
| Console Screencasting Tools / Terminal Session Recording | |
|---|---|
| Terminalizer | Generates animated GIF images of your terminal |
| VHS | Wwrite terminal GIFs as code for integration testing and demoing |
| ttyd | Shares your terminal over the web |
| asciinema | Record and share terminal sessions |
| t-rec | Generates animated GIF images for the web |
| agg | asciinema gif generator |
| ffscreencast | Shell wrapper for ffmpeg that allows fool-proof screen recording |
| IPBT | High-tec terminal player |
| rec | Records terminal sessions and turns them into reusable workflows |
| TermSVG | Record terminal sessions and export them as animated SVG files |
| termrec | Set of tools for recording and replaying tty sessions |
| screencast | Interface to record a X11 desktop |
| script | The granddaddy of terminal recorders |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.