Screencasts
Contents
Screencasts#
You can record a screencast of your terminal activity with asciinema or the windows port PowerSession.
Install#
Install the asciinema module using your preferred installer.
pip install asciinema
poetry add asciinema
First install scoop if you haven’t already:
iwr -useb get.scoop.sh | iex
Then use scoop
to install PowerSession:
scoop install PowerSession
Usage#
Record#
To start recording run asciinema rec
followed by a filename to record to. To
finish hit Ctrl-D or type exit
.
asciinema rec sess.cast
To start recording run PowerShell rec
followed by a filename to record to.
(You may need to use the command PowerShell.exe
instead.) To finish hit
Ctrl-D or type exit
.
PowerSession rec sess.cast
Play#
You can play back a previously recorded screencast with the command asciinema play
followed by the filename to play.
asciinema play sess.cast
You can play back a previously recorded screencast with the command PowerShell play
followed by the filename to play. (You may need to use the command
PowerShell.exe
instead.)
PowerSession play sess.cast