asciinema-play(1)
π NAME π
Okay so bestie, this is the asciinema-play(1) manual page, from the General Commands Manual β and the whole vibe is play back a terminal session π«Άβ¨.
πΈ SYNOPSIS πΈ
asciinema play [-s|--speed] [-l|--loop] [-i|--idle-time-limit]
[-m|--pause-on-markers] [-r|--resize] [-q|--quiet] [-h|--help] <FILE>
β¨ DESCRIPTION β¨
Play back a recorded terminal session. It displays a previously recorded asciicast file in your terminal with various playback controls (see below). Supports local files and remote URLs π .
The controls are lowkey iconic, so memorize these:
- Press ctrl+c to interrupt the playback.
- Press space to pause/resume.
- Press . to step forward (while paused).
- Press ] to skip to the next marker (while paused).
π OPTIONS π
-s,--speed=SPEEDβ controls the playback speed as a multiplier of the original timing. Values greater than1.0make playback faster, while values less than1.0make it slower. For example,--speed 2.0plays at double speed, while--speed 0.5plays at half speed. The default is1.0(original speed). Can also be set via the config file optionplayback.speedπ₯.-l,--loopβ enables continuous looping of the recording. When the recording reaches the end, it will automatically restart from the beginning. This continues indefinitely until you interrupt playback with ctrl+c π.-i,--idle-time-limit=SECSβ limits the maximum idle time between events during playback to the specified number of seconds. Long pauses in the original recording (such as when the user stepped away) will be shortened to this duration, making playback more watchable. This overrides any idle time limit set in the recording itself or in your config file (playback.idle_time_limit) β±οΈ.-m,--pause-on-markersβ automatically pauses playback when encountering marker events. Markers are special events that can be added during recording to mark important points in a session. When this option is enabled, playback will pause at each marker, allowing you to control the flow of the demonstration. Use space to resume, . to step through events, or ] to skip to the next marker β¨.-r,--resizeβ automatically resizes the terminal window to match the original recording dimensions. This option attempts to change your terminal size to match the size used when the recording was made, ensuring the output appears exactly as it was originally recorded. Note that this feature is only supported by some terminals and may not work in all environments π«Ά.-q,--quietβ suppresses diagnostic messages and progress indicators. Only error messages will be displayed π€«.-h,--helpβ print help (see a summary with'-h') π.<FILE>β the path to an asciicast file or HTTP(S) URL to play back. Can be a local file path, HTTP(S) URL for remote files, or-to read from standard input. Remote URLs allow playing recordings directly from the web without need for manual downloading. Supported formats include asciicast v1, v2, and v3 π.
π¦ EXTRA π¦
Examples, bestie β copy these exactly:
asciinema play demo.castβ plays back a local recording file once.
asciinema play demo.cast
asciinema play --speed 2.0 --loop demo.castβ plays back at double speed in a loop.
asciinema play --speed 2.0 --loop demo.cast
asciinema play --idle-time-limit 2 demo.castβ plays back with idle time capped at2seconds.
asciinema play --idle-time-limit 2 demo.cast
asciinema play https://asciinema.org/a/569727β plays back directly from a URL.
asciinema play https://asciinema.org/a/569727
asciinema play --pause-on-markers demo.castβ plays back, pausing automatically at every marker.
asciinema play --pause-on-markers demo.cast
Cute sign-off time π: the footer deets are literally play on one side and asciinema-play(1) on the other, and thereβs no separate date/version line in this original footer β thatβs the exact whole footer vibe, fr fr ππ¦.
π¦ where this page comes from
- alpine 3.24: asciinema-doc 3.2.0-r0 Β· GPL-3.0-or-later
- arch rolling: asciinema 3.2.1-1 Β· GPL-3.0-only
- nixos 26.05: asciinema 3.2.0
- nixpkgs unstable: asciinema 3.2.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms