asciinema-rec(1) General Commands Manual asciinema-rec(1)

asciinema-rec - Record a terminal session

asciinema rec [-I|--input] [-a|--append] [-f|--format] [--overwrite] [-c|--command] [--filename] [--env] [-t|--title] [-i|--idle-time-limit] [--headless] [--tty-size] [--server-url] [-q|--quiet] [-h|--help] <PATH>

Record a terminal session

Enable input recording
Append to an existing recording file
Recording file format [default: asciicast]

[possible values: asciicast, raw, txt]

Overwrite target file if it already exists
Command to record [default: $SHELL]
Filename template, used when recording to a directory
List of env vars to save [default: TERM,SHELL]
Title of the recording
Limit idle time to a given number of seconds
Use headless mode - don't use TTY for input/output
Override terminal size for the recorded command
asciinema server URL
Quiet mode, i.e. suppress diagnostic messages
Print help
<PATH>
Output path - either a file or a directory path
rec