2018-11-12 10:17:37 +00:00
|
|
|
# asciinema
|
|
|
|
|
|
|
|
> Record and replay terminal sessions, and optionally share them on asciinema.org.
|
2022-12-06 10:57:25 +00:00
|
|
|
> More information: <https://asciinema.org/docs/usage>.
|
2018-11-12 10:17:37 +00:00
|
|
|
|
|
|
|
- Associate the local install of `asciinema` with an asciinema.org account:
|
|
|
|
|
|
|
|
`asciinema auth`
|
|
|
|
|
|
|
|
- Make a new recording (once finished, user will be prompted to upload it or save it locally):
|
|
|
|
|
|
|
|
`asciinema rec`
|
|
|
|
|
|
|
|
- Make a new recording and save it to a local file:
|
|
|
|
|
2024-01-31 03:55:19 +00:00
|
|
|
`asciinema rec {{path/to/file.cast}}`
|
2018-11-12 10:17:37 +00:00
|
|
|
|
|
|
|
- Replay a terminal recording from a local file:
|
|
|
|
|
2024-01-31 03:55:19 +00:00
|
|
|
`asciinema play {{path/to/file.cast}}`
|
2018-11-12 10:17:37 +00:00
|
|
|
|
|
|
|
- Replay a terminal recording hosted on asciinema.org:
|
|
|
|
|
|
|
|
`asciinema play https://asciinema.org/a/{{cast_id}}`
|
|
|
|
|
2024-02-09 14:34:08 +00:00
|
|
|
- Make a new recording, limiting any [i]dle time to at most 2.5 seconds:
|
2018-11-12 10:17:37 +00:00
|
|
|
|
2024-02-09 14:34:08 +00:00
|
|
|
`asciinema rec -i 2.5`
|
2018-11-12 10:17:37 +00:00
|
|
|
|
|
|
|
- Print the full output of a locally saved recording:
|
|
|
|
|
2024-01-31 03:55:19 +00:00
|
|
|
`asciinema cat {{path/to/file.cast}}`
|
2018-11-12 10:17:37 +00:00
|
|
|
|
|
|
|
- Upload a locally saved terminal session to asciinema.org:
|
|
|
|
|
2024-01-31 03:55:19 +00:00
|
|
|
`asciinema upload {{path/to/file.cast}}`
|