← 返回命令列表

Linux command

terminalizer 命令

文件

复制后可按需替换文件名、目录或参数。

常用示例

Start recording

terminalizer record [filename]

Record with a custom config

terminalizer record [filename] -c [config.yml]

Record with a custom command

terminalizer record [filename] -d "[bash -l]"

Play a recording

terminalizer play [filename.yml]

Render recording

terminalizer render [filename.yml] -o [output.gif]

Generate global config

terminalizer init

Share recording online

terminalizer share [filename.yml]

Generate a web player

terminalizer generate [filename.yml]

说明

terminalizer records terminal sessions and renders them as animated GIFs for sharing in documentation, README files, and tutorials. It captures both keystrokes and terminal output, storing recordings in an editable YAML format. Recordings can be played back in the terminal, rendered to GIF locally, or shared online via terminalizer.com. The YAML format allows editing timing, removing mistakes, and customizing the appearance including colors, fonts, window frame style, and dimensions before rendering the final animation.

参数

record _FILE_
Record a terminal session into a YAML file.
play _FILE_
Replay a recorded session in the terminal.
render _FILE_
Render a recording to an animated GIF.
generate _FILE_
Generate a shareable HTML web player link.
share _FILE_
Upload the recording and share it on terminalizer.com.
init
Create a global config file at `~/.terminalizer/config.yml`.
config
Print the default config to stdout.
-c _FILE_, --config _FILE_
Use a custom config file.
-d _COMMAND_, --command _COMMAND_
Command to run instead of the default shell (record).
-k, --skip-sharing
Skip the sharing prompt after recording.
-o _FILE_, --output _FILE_
Output file path (render).
-q _NUM_, --quality _NUM_
GIF quality 1-100 (render).
-s _NUM_, --step _NUM_
Frame step count; higher values reduce GIF size (render).
-r _NUM_, --real-timing
Play using original recording speeds (play).
-h, --help
Display help information.

FAQ

What is the terminalizer command used for?

terminalizer records terminal sessions and renders them as animated GIFs for sharing in documentation, README files, and tutorials. It captures both keystrokes and terminal output, storing recordings in an editable YAML format. Recordings can be played back in the terminal, rendered to GIF locally, or shared online via terminalizer.com. The YAML format allows editing timing, removing mistakes, and customizing the appearance including colors, fonts, window frame style, and dimensions before rendering the final animation.

How do I run a basic terminalizer example?

Run `terminalizer record [filename]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does record _FILE_ do in terminalizer?

Record a terminal session into a YAML file.