2025-03-07 14:51:04 +03:00
|
|
|
# wezterm
|
|
|
|
|
|
|
|
> Wez's Terminal Emulator - a powerful cross-platform terminal emulator and multiplexer.
|
2025-07-18 02:02:52 +00:00
|
|
|
> Some subcommands such as `cli` have their own usage documentation.
|
2025-03-07 14:51:04 +03:00
|
|
|
> More information: <https://wezterm.org/cli/general>.
|
|
|
|
|
|
|
|
- Start a new Wezterm process and create a window:
|
|
|
|
|
|
|
|
`wezterm`
|
|
|
|
|
2025-07-18 02:02:52 +00:00
|
|
|
- Establish an `ssh` session in a new Wezterm window:
|
2025-03-07 14:51:04 +03:00
|
|
|
|
|
|
|
`wezterm ssh {{user}}@{{host}}:{{port}}`
|
|
|
|
|
|
|
|
- Connect to the multiplexer (`wezterm-mux-server`):
|
|
|
|
|
|
|
|
`wezterm connect {{domain_name}}`
|
|
|
|
|
|
|
|
- Output an image to the terminal:
|
|
|
|
|
|
|
|
`wezterm imgcat {{path/to/image}}`
|
|
|
|
|
2025-07-18 02:02:52 +00:00
|
|
|
- Record a terminal session as an asciicast (by default recordings are saved to `/tmp`):
|
2025-03-07 14:51:04 +03:00
|
|
|
|
|
|
|
`wezterm record`
|
|
|
|
|
2025-07-18 02:02:52 +00:00
|
|
|
- Replay an asciicast terminal session:
|
2025-03-07 14:51:04 +03:00
|
|
|
|
|
|
|
`wezterm replay {{path/to/cast_file}}`
|
|
|
|
|
|
|
|
- Specify the configuration file to use (overrides the normal configuration file resolution):
|
|
|
|
|
|
|
|
`wezterm --config-file {{path/to/config_file}}`
|
|
|
|
|
|
|
|
- Display help:
|
|
|
|
|
|
|
|
`wezterm help`
|