Ask HN: What is the best way to record a terminal session?
I am writing some documentation for our product. In it, we need to document several terminal command sequences, like what you see on this Cypress guide - https://docs.cypress.io/guides/getting-started/installing-cypress.html#npm-install
Whilst I can record it all in video, the problem I find is that you get several steps in, then make a minor typo which is in your video unless you re-record or do a bunch of editing.
It made me wonder if there are any tools that allow you to easily 'fake' the process (e.g. a web app that lets you type in the commands you want to emulate, then have those print out one after the other)?
If anyone knows of something, or can think of a better solution, that would be great!
5 comments
[ 6.1 ms ] story [ 25.0 ms ] thread[1] - https://github.com/asciinema/asciinema
Now if you also would like to reproduce the video experience you coul use: https://asciinema.org/
Wich records a your terminal session, looks like a video but is in fact text characters.
It reminds me of listening to podcasts. The podcasts with huge budgets are sometimes overproduced. The pauses all feel dramatic and acted, and everything feels well-rehearsed. My favorite podcasts are ones that have received light editing for content, but leave in the natural flow of human conversation.
Then later you can make a video, perhaps using the software you've already tried (or recommended in other replies), by pasting the commands one by one from the script into the terminal.