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 asciinema.org 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.

Installation

Python Package

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

sudo pip3 install asciinema

Homebrew

brew install asciinema

Arch Linux

pacman -S asciinema

Debian

sudo apt-get install asciinema

Fedora < 22

sudo yum install asciinema

Fedora >= 22

sudo dnf install asciinema

Gentoo

emerge -av asciinema

openSUSE

zypper in asciinema

Ubuntu

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

From source

git clone https://github.com/asciinema/asciinema.git
cd asciinema
python3 -m asciinema --version

Visit asciinema's Project Page

{{ message }}

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