Friday, January 15, 2016

How to install asciinema on Ubuntu

In this article i will show you how to install asciinema on ubuntu, so what is asciinema? asciinema is a program that can record your console/command line/terminal activity into a video.

If you read my previous article about steam locomotive, you will see video which shows me installing and running the steam locomotive program on command line/terminal/console.

With asciinema you can record and share your terminal/console sessions, it's very useful if you need to teach someone about something that you do on terminal/console/command line.

Alright enough talking, show me how to install and use asciinema, to install asciinema all you have to do is run apt-get install asciinema, like this:

sudo apt-get install asciinema

Once installed, you can go ahead run the program and start recording your terminal/console session, once you are done, you can exit recording by pressing CTRL + D.


Asciinema will asking you to upload the video, enter 'y' to continue, asciinema will upload the video and you will be given url link of the video, which you can open on web browser.

You can share the video via social media (twitter, facebook, google+, reddit) or you can also embed inside web page just like i did here in this article and my previous article.

Asciinema have several parameters/arguments that you can use, here's list of parameters/arguments that you can use with asciinema:

   Optional arguments:
       -c command
              run specified command instead of shell ($SHELL)

       -t title
              specify title of recorded asciicast

       -y     don't prompt for confirmation

       -h, --help
              show this help message and exit

       -v, --version
              show version information

Asciinema is really a great tool for recording consolo/terminal activity, very good for someone who want to share their talents/skills to help other people.

No comments:

Post a Comment