Skip to content

asciinema CLI

asciinema (aka asciinema CLI or asciinema recorder) is a command-line tool for recording terminal sessions.

Unlike typical screen recording software, which records visual output of a screen into a heavyweight video files (.mp4, .mov), asciinema recorder runs inside a terminal, capturing terminal session output into a lightweight recording files in the asciicast format (.cast).

The recordings can be replayed in a terminal, embedded on a web page with the asciinema player, or published to an asciinema server, such as asciinema.org, for further sharing.

Recording is as easy as running this command in your shell:

asciinema rec demo.cast

Check out the quick start guide for installation and usage overview.


Notable features:


asciinema CLI is free and open-source software (FOSS). Source code and license available at github.com/asciinema/asciinema.