CLI quickstart
Control Supaterm spaces, tabs, panes, settings, and coding-agent workflows with sp.
sp is the command-line interface bundled with Supaterm. Every pane gets the matching binary on PATH and receives enough context to target its owning app, tab, and pane.
Inspect Supaterm
sp ls
sp diagnostic
sp instance ls
sp ls prints the current window, space, tab, and pane tree. Add --json for stable IDs and machine-readable output.
Create terminal surfaces
space_id="$(sp space new --json --focus Work | jq -r '.target.spaceID')"
tab="$(sp tab new --json --in "$space_id" --focus --cwd ~/code/project -- git status)"
pane_id="$(printf '%s' "$tab" | jq -r '.paneID')"
sp pane split --in "$pane_id" right -- npm test
Inside Supaterm, unscoped commands use the caller pane’s original context. Changing UI focus does not change that context, so chained commands should retain IDs and pass explicit targets. These examples use jq to extract typed IDs from JSON output.
Control a pane
sp pane send --newline 'echo hello'
sp pane capture --scope scrollback --lines 100
sp pane health
sp pane wait-ready --timeout 5
Discover the version-matched guide
sp skills list
sp skills get core
sp skills get core --full
The bundled guide is authoritative for the installed version. --full includes the complete space, tab, pane, agent, selector, and diagnostic references.
Output modes
Most commands support:
--jsonfor structured output--plainfor stable unstyled text--quietto suppress successful output--no-colorto keep human-readable output unstyled
Use exit status, not output text, to decide whether a command succeeded.
Continue with targeting and automation recipes.