Presentations from the command line?


For many jobs, conferences, classes, etc., it is necessary make presentations to show what you need. Graphic programs such as PowerPoint, Impress, etc. have always been talked about, but there are also such interesting tools for CLI as tpp, with which you can also make presentations from the command line.

You may think a priori that this is a disadvantage compared to the other options mentioned, and it is in some cases. But for presentations where you show source code snippets, or commands, then there Tpp can become especially interesting. That is why it seemed good to me to make this tool known to those users who did not know it yet.

*Note: to install the tpp package you can do it from your distro's package manager, like apt-get on Debian and derivatives, dnf on CentOS/Fedora/RHEL and derivatives, etc. Another option is to download and compile it yourself from source code.

Once you have tpp you can start creating the presentations you need from the command line, following these steps:

  • First: create, with your favorite text editor, a text file called example.tpp and inside you can include the presentation header like this:
--author LxA
--date today
--heading ¿Cómo usar tpp?

  • Second: now a list of items is created using the colors, slide-in, etc. To do this, in the same file you continue adding:
--color orange
--color blue
--color red
--color white

  • Third: You can now continue adding content. For example, imagine you want to display commands or source code in your presentation, then you can do it like this example:
--center Source Code



echo "Hola, esto es una prueba"


  • Fourth: now it's time to add the lines to animate, for example:
--center Shell Output
$ perl -e 'print "Hola, esto es un ejemplo.\n"'
Hola, esto es un ejemplo.

  • Fifth: you can add more slides, since so far only one has been used:
--center Please check Perl's Manual Page for more info

To know all the possible tpp options to create your presentations, you can use the manual:

man tpp

More information and obtaining the package – Github site

The content of the article adheres to our principles of editorial ethics. To report an error click here!.

Be the first to comment

Leave a Comment

Your email address will not be published.



  1. Responsible for the data: AB Internet Networks 2008 SL
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.