asciinema — Terminal Session Recorder

Asciinema lets you easily record terminal sessions and replay them in a terminal as well as in a web browser.

When you run asciinema rec in your terminal the recording starts, capturing all output that is being printed to your terminal while you’re issuing the shell commands. When the recording finishes (by hitting Ctrl-D or typing exit) then the captured output is uploaded to website and prepared for playback on the web.

Asciinema is included in repositories of most popular package managers on Mac OS X, Linux and FreeBSD. Look for package named asciinema.


Python Package

asciinema is available on PyPI and can be installed with pip (Python 3 with setuptools required):

sudo pip3 install asciinema


brew install asciinema

Arch Linux

pacman -S asciinema


sudo apt-get install asciinema

Fedora < 22

sudo yum install asciinema

Fedora >= 22

sudo dnf install asciinema


emerge -av asciinema


zypper in asciinema


sudo apt-add-repository ppa:zanchey/asciinema
sudo apt-get update
sudo apt-get install asciinema

From source

git clone
cd asciinema
python3 -m asciinema --version

Visit asciinema's Project Page

{{ message }}

{{ 'Comments are closed.' | trans }}