How to record command line #CLI sessions and view them later?

How can I explain what exactly I'm doing to accomplish X on the command line to my colleagues, e.g. to my holiday replacement? I don't like the idea of making clumsy videos, without a chance to copy & paste text out of it.

I know, there's 'script' , but script doesn't handle TUIs well.

Solution: #asciinema: Record with `ascinema rec` and replay with `ascinema play`, optionally upload to asciinema.org similar to Youtube.

Beautiful #Asciiart can be published this way was well, have a look:
https://asciinema.org/a/746358

They’re Made Out of Meat

A radio play by PRI and WNYC Studios based on Terry Bisson's "They're Made Out of Meat" short story. https://www.wnycstudios.org/podcasts/studio/segments/168264-theyre-made-out-of-meat The visuals ...

asciinema.org