list-panels
List all surfaces in the current or specified workspace (legacy alias for surface listing).Workspace to list surfaces from (defaults to
$CMUX_WORKSPACE_ID)Output results in JSON format
Control ID output format:
refs, uuids, or bothnew-surface
Create a new surface in the current or specified pane.Workspace context (defaults to
$CMUX_WORKSPACE_ID)Pane to add surface to (defaults to current pane)
Surface type:
terminal or browserURL to open (for browser surfaces)
close-surface
Close a specific surface.Workspace context (defaults to
$CMUX_WORKSPACE_ID)Surface to close (defaults to
$CMUX_SURFACE_ID)Legacy alias for
--surfacefocus-panel
Focus a specific surface (panel).Surface to focus (ID, ref, or index)
Workspace context (defaults to
$CMUX_WORKSPACE_ID)new-split
Create a new split pane with a surface.Split direction:
left, right, up, or downWorkspace context (defaults to
$CMUX_WORKSPACE_ID)Reference surface to split from (defaults to
$CMUX_SURFACE_ID)Legacy alias for
--surfacemove-surface
Move a surface to a different pane, workspace, or window.Surface to move (ID, ref, or index)
Destination pane (ID, ref, or index)
Destination workspace (ID, ref, or index)
Destination window (ID, ref, or index)
Place before this surface
Place after this surface
Set specific index position
Whether to focus the surface after moving
reorder-surface
Reorder a surface within its pane.Surface to reorder (ID, ref, or index)
Workspace context
Place before this surface
Place after this surface
Set specific index position
surface-health
Check the health status of all surfaces in a workspace.Workspace to check (defaults to
$CMUX_WORKSPACE_ID)Output results in JSON format
trigger-flash
Trigger a visual flash on a surface (for debugging).Workspace context (defaults to
$CMUX_WORKSPACE_ID)Surface to flash (defaults to
$CMUX_SURFACE_ID)refresh-surfaces
Refresh all surfaces (legacy command).drag-surface-to-split
Drag a surface to create a split in a specific direction (legacy command).Surface to drag (ID or index)
Legacy alias for
--surfaceSplit direction:
left, right, up, or downGlobal Flags
These flags can be used with most surface 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