Though there are lot of tools available to record the terminal screen but I 💜 the asciinema the most. The Reason, It's SIMPLICITY. It is easy to install, use, upload and share functionality make this tool unique in the groups. So let's roll and see how the magic is done 😆
Installation:
asciinema is available on multiple platforms as offered via pip (python), homebrew, debian, yum and docker environment. If binary is not available for you system, you can build it from scratch as well.
Debian: sudo apt-get install asciinema
Homebrew ( Mac/Linux): brew install asciinema
RPM: sudo yum install asciinema # or sudo dnf install asciinema
Docker: docker pull ghcr.io/asciinema/asciinema
Many more options are available here.
Record:
Once install, you can record the screen/terminal via below command :
asciinema rec [filename.cast]
This spawns a new shell instance and records all terminal output. When you're ready to finish simply exit the shell either by typing exit or hitting <ctrl-D>
Upload:
You can upload the recording to asciinema.org to do that you have to login on the account which can be done via below command -
asciinema auth
Now, to share the recording with others or websites are pretty easy as mentioned here.
No comments:
Post a Comment