Linux command
wezterm-cli 命令
文件
复制后可按需替换文件名、目录或参数。
常用示例
Start new terminal
wezterm start
Connect to SSH
wezterm ssh [user@host]
Connect to serial port
wezterm serial [/dev/ttyUSB0]
Spawn new tab
wezterm cli spawn
Split pane
wezterm cli split-pane --right
List panes
wezterm cli list
说明
wezterm is a GPU-accelerated terminal emulator and multiplexer. It supports tabs, split panes, SSH and serial connections, and image display (sixel, iTerm2 protocol). Configuration is done via Lua scripts, enabling dynamic behavior and complex key mappings. The `wezterm cli` subcommands control a running wezterm instance, allowing scripted pane management similar to tmux.
参数
- start
- Start new terminal.
- ssh _destination_
- SSH connection.
- serial _port_
- Serial port connection.
- cli spawn
- Create new tab.
- cli split-pane
- Split current pane.
- cli list
- List windows/tabs/panes.
- --config _key=value_
- Override configuration.
FAQ
What is the wezterm-cli command used for?
wezterm is a GPU-accelerated terminal emulator and multiplexer. It supports tabs, split panes, SSH and serial connections, and image display (sixel, iTerm2 protocol). Configuration is done via Lua scripts, enabling dynamic behavior and complex key mappings. The `wezterm cli` subcommands control a running wezterm instance, allowing scripted pane management similar to tmux.
How do I run a basic wezterm-cli example?
Run `wezterm start` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does start do in wezterm-cli?
Start new terminal.