list-panes
List all panes in the current or specified workspace.Workspace to list panes from (defaults to
$CMUX_WORKSPACE_ID)Output results in JSON format
Control ID output format:
refs, uuids, or bothnew-pane
Create a new pane with a split direction.Workspace context (defaults to
$CMUX_WORKSPACE_ID)Split direction:
left, right, up, or down (default: right)Initial surface type:
terminal or browserURL to open (for browser surfaces)
focus-pane
Focus a specific pane by ID, ref, or index.Pane to focus (ID, ref, or index)
Workspace context (defaults to
$CMUX_WORKSPACE_ID)list-pane-surfaces
List all surfaces within a specific pane.Pane to list surfaces from (ID, ref, or index)
Workspace context (defaults to
$CMUX_WORKSPACE_ID)Output results in JSON format
Control ID output format:
refs, uuids, or bothtree
Display the pane/surface hierarchy tree for a workspace.Workspace to display tree for (defaults to current workspace)
Output results in JSON format
Control ID output format:
refs, uuids, or bothGlobal Flags
These flags can be used with most pane commands:Path to the cmux socket (default:
/tmp/cmux.sock or $CMUX_SOCKET_PATH)Socket authentication password (or use
$CMUX_SOCKET_PASSWORD)Output results in JSON format
Control ID output format:
refs, uuids, or both