Skip to content

Instantly share code, notes, and snippets.

@r0mdau
Created February 1, 2022 17:05
Embed
What would you like to do?
Record a linux terminal

Install asciinema using apt :

apt install asciinema

Install svg-term using npm :

sudo npm install -g svg-term-cli

Record the terminal :

asciinema rec record.cast

Use ctrl + d to stop recording.

Then to generate a dynamic svg file :

cat record.cast | svg-term --out generated.svg --window
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment