Tools¶
All tools accept an optional socket_name parameter for multi-server support. It defaults to the LIBTMUX_SOCKET env var. See Configuration.
Inspect readonly¶
Read tmux state without changing anything.
List all active sessions.
List windows in a session.
List panes in a window.
Read visible content of a pane.
Get detailed pane metadata.
Search text across panes.
Wait for text to appear in a pane.
Get tmux server info.
Query a tmux option value.
Show tmux environment variables.
Act mutating¶
Create or modify tmux objects.
Start a new tmux session.
Add a window to a session.
Split a window into panes.
Send commands or keystrokes to a pane.
Rename a session.
Rename a window.
Adjust pane dimensions.
Adjust window dimensions.
Set window layout.
Set pane title.
Clear pane content.
Set a tmux option.
Set a tmux environment variable.
Destroy destructive¶
Tear down tmux objects. Not reversible.
Destroy a session and all its windows.
Destroy a window and all its panes.
Destroy a pane.
Kill the entire tmux server.