wezterm
Original:🇺🇸 English
Translated
Control WezTerm terminal emulator via CLI. Manage panes, tabs, workspaces, and execute commands in running terminals.
2installs
NPX Install
npx skill4agent add dicklesworthstone/agent_flywheel_clawdbot_skills_and_integrations weztermTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →WezTerm Skill
Use the CLI to control and interact with WezTerm terminal instances.
weztermCLI Location
bash
/Applications/WezTerm.app/Contents/MacOS/weztermOr add to PATH for easier access.
Listing and Connecting
List all WezTerm panes:
bash
wezterm cli listList in JSON format:
bash
wezterm cli list --format jsonList clients (GUI windows):
bash
wezterm cli list-clientsPane Management
Get current pane ID:
bash
wezterm cli get-pane-directionSplit pane horizontally (new pane to right):
bash
wezterm cli split-pane --rightSplit pane vertically (new pane below):
bash
wezterm cli split-pane --bottomSplit with specific command:
bash
wezterm cli split-pane --right -- htopMove focus between panes:
bash
wezterm cli activate-pane-direction up
wezterm cli activate-pane-direction down
wezterm cli activate-pane-direction left
wezterm cli activate-pane-direction rightActivate specific pane by ID:
bash
wezterm cli activate-pane --pane-id <pane-id>Tab Management
Create new tab:
bash
wezterm cli spawnCreate tab with command:
bash
wezterm cli spawn -- vimCreate tab in specific domain:
bash
wezterm cli spawn --domain-name SSH:serverActivate tab by index:
bash
wezterm cli activate-tab --tab-index 0Activate tab relative:
bash
wezterm cli activate-tab --tab-relative 1 # next tab
wezterm cli activate-tab --tab-relative -1 # previous tabSending Commands to Panes
Send text to a pane:
bash
wezterm cli send-text --pane-id <pane-id> "ls -la\n"Send text to current pane:
bash
wezterm cli send-text "echo hello\n"Workspaces
List workspaces:
bash
wezterm cli list --format json | jq '.[].workspace' | sort -uZoom
Toggle pane zoom:
bash
wezterm cli zoom-pane --toggleZoom pane:
bash
wezterm cli zoom-pane --zoomUnzoom:
bash
wezterm cli zoom-pane --unzoomMultiplexer Domains
List domains (local, SSH, etc.):
bash
wezterm cli list --format json | jq '.[].domain_name' | sort -uConnect to SSH domain:
bash
wezterm cli spawn --domain-name SSH:myserverConfiguration
Config file:
~/.config/wezterm/wezterm.luaShow effective config:
bash
wezterm show-keysLaunching
Start new window:
bash
wezterm startStart with command:
bash
wezterm start -- htopStart in directory:
bash
wezterm start --cwd /path/to/dirConnect to running mux server:
bash
wezterm connect unix