> ## Content Index
> Fetch the complete content index at: https://itsfoss.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# asciinema: A Better Way To Record & Share Linux Terminal Session
- URL: https://itsfoss.com/asciinema-record-terminal/
- Published: 2016-03-05T17:33:56.000Z
- Updated: 2023-07-03T04:47:24.000Z
- Description: Record and share your Linux terminal session using asciinema. The commands and outputs can be copied too.
- Author: John Paul Wohlscheid
- Tags: Terminal

Many of you Linux fans work hard to convince your friends and family to [switch to Linux](https://itsfoss.com/reasons-switch-linux-windows-xp/). The downside is that they turn to you to be their tech support once they do.

The easiest way to teach them would be to send them a video capture of your screen while you perform the task in the terminal.

The problem is that you use a traditional tool like [SimpleScreenRecorder to record Linux session](https://itsfoss.com/record-screen-ubuntu-simplescreenrecorder/), you will have to find a way to send the big video file to another computer. If you somehow managed to send the video file, the other user will have to manually type the commands and it is prone to errors that could eventually turn catastrophic.

This is where, [asciinema](https://asciinema.org/?ref=itsfoss.com) can help.

## What is Asciinema?

asciinema is a small open source program you can install on your system to capture what you do in the terminal. The session is automatically loaded to asciinema website and you are provided a URL to share the recorded session. This way, you share the URL with your friend and the friend can access it at any time.

The best part is that instead of attempting to transcribe the commands from the video you created, **viewers can simply pause the video, highlight the command and copy and past it into their own terminal**.

To give you an example of what asciinema can do, here is a video by asciinema that explains how to use it:

[Subscribe to It's FOSS YouTube Channel](https://www.youtube.com/@itsfoss?ref=itsfoss.com)

## Install and use asciinema to record Linux terminal session

If you have **Ubuntu**, use the following commands to install asciinema:

```
sudo apt install asciinema
```

If you have an **Arch** based system, use the following commands to install asciinema:

```
sudo pacman -S asciinema
```

For all other systems, you can find install instructions [here](https://asciinema.org/docs/installation?ref=itsfoss.com).

Now that you have asciinema installed, all you need to do is enter:

```
asciinema rec
```

![asciinema record command](https://itsfoss.com/content/images/wordpress/2022/08/asciinema-record-command.png)

asciinema Record Command

and you will be recording. When you are done, just type:

```
exit
```

or

```
Ctrl + D
```

Once you are done recording, press `Enter` and asciinema will give you a link to your video so you can view it right away in browser. Also, if you press `Ctrl + C` you can save the recording to a local tmp folder.

![asciinema recorded output with link to view](https://itsfoss.com/content/images/wordpress/2022/08/asciinema-recorded-output-with-link-to-view.png)

asciinema Recorded Output with Link to View

If you want your video to be assigned to your asciinema profile run the following command:

```
asciinema auth
```

![asciinema link recording to account](https://itsfoss.com/content/images/wordpress/2022/08/asciinema-link-recording-to-account.png)

asciinema – Link Recording to Account

Is this helpful for you? Have you ever used this tool or something similar before?