View on Asciinema

Asciinema is an open-source tool for recording and sharing terminal sessions.
Instead of heavy video files, it saves text-based replays that can be played back interactively — perfect for tutorials, demos, and blog posts.

Install Asciinema

On Ubuntu 24.04 LTS:

sudo apt update
sudo apt install asciinema -y

Verify the installation:

asciinema --version

Record Your First Session

Start recording:

asciinema rec

You’ll see:

~ Asciinema recorder v3.0.0
~ Press <Ctrl-D> or type 'exit' when you're done recording.

Everything you type in the terminal is recorded until you exit with Ctrl+D or exit.

Upload and Share

After finishing the recording, you can upload it to Asciinema:

asciinema upload your-session.cast

You’ll get a link like:

https://asciinema.org/a/HlKBip7QAmlbwshOuS1bKqE8p

Local Playback

To play your recordings locally without uploading:

asciinema play your-session.cast