Asciinema Installation On A Debian, Ubuntu, Alpine, Arch, Kali, Fedora, Raspbian And MacOS

Asciinema Installation On A Debian, Ubuntu, Alpine, Arch, Kali, Fedora, Raspbian And MacOS

asciinema

Record and replay terminal sessions, and optionally share them on asciinema.org.

Maintainer: Josue Ortega



Section: utils

Install asciinema

  • Debian apt-get install asciinema Click to copy
  • Ubuntu apt-get install asciinema Click to copy
  • Alpine OS apk add asciinema Click to copy
  • Arch Linux pacman -S asciinema Click to copy
  • Kali Linux apt-get install asciinema Click to copy
  • Fedora dnf install asciinema Click to copy
  • Raspbian apt-get install asciinema Click to copy
  • macOS brew install asciinema Click to copy

Record and replay terminal sessions, and optionally share them on asciinema.org.

How to use asciinema?

Below are few example commands for asciinema that you can use in the terminal.

Associate the local install of `asciinema` with an asciinema.org account:
asciinema authClick to copy
Make a new recording (once finished, user will be prompted to upload it or save it locally):
asciinema recClick to copy
Make a new recording and save it to a local file:
asciinema rec path/to/file.castClick to copy
Replay a terminal recording from a local file:
asciinema play path/to/file.castClick to copy
Replay a terminal recording hosted on asciinema.org:
asciinema play https://asciinema.org/a/cast_idClick to copy
Make a new recording, limiting any idle time to at most 2.5 seconds:
asciinema rec -i 2.5Click to copy
Print the full output of a locally saved recording:
asciinema cat path/to/file.castClick to copy
Upload a locally saved terminal session to asciinema.org:
asciinema upload path/to/file.castClick to copy
Installing asciinema command is simple. just copy one of the above commands for your operating system and paste it into terminal. This command is available for Debian, Ubuntu, Alpine, Arch, Kali, Fedora, Raspbian and macOS operating systems. Once you run the command it will install the latest version of asciinema 2026 package in your OS.