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