Asciinema Installation On A Debian, Ubuntu, Alpine, Arch, Kali, Fedora, Raspbian And MacOS
Install asciinema
-
Debian
apt-get install asciinemaClick to copy -
Ubuntu
apt-get install asciinemaClick to copy -
Alpine OS
apk add asciinemaClick to copy -
Arch Linux
pacman -S asciinemaClick to copy -
Kali Linux
apt-get install asciinemaClick to copy -
Fedora
dnf install asciinemaClick to copy -
Raspbian
apt-get install asciinemaClick to copy -
macOS
brew install asciinemaClick 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 copyMake a new recording (once finished, user will be prompted to upload it or save it locally):asciinema recClick to copyMake a new recording and save it to a local file:asciinema rec path/to/file.castClick to copyReplay a terminal recording from a local file:asciinema play path/to/file.castClick to copyReplay a terminal recording hosted on asciinema.org:asciinema play https://asciinema.org/a/cast_idClick to copyMake a new recording, limiting any idle time to at most 2.5 seconds:asciinema rec -i 2.5Click to copyPrint the full output of a locally saved recording:asciinema cat path/to/file.castClick to copyUpload 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.




