CLI reference
The splinterm CLI serves both people and structured clients. Human output is the default. JSON and NDJSON are versioned machine contracts with separate authority rules; see Bounded automation before scripting them.
Everyday graphical workflows
Section titled “Everyday graphical workflows”splinterm dojos # open Recent Dojossplinterm reopen # reopen the last still-running Dojosplinterm launch # create a fresh persistent graphical Lairsplinterm window --lair-id L --dojo-id Dsplinterm sessions remains a compatibility alias for dojos. A Window is a disposable view and can hold several Dojos as local tabs.
Inspect topology
Section titled “Inspect topology”splinterm pingsplinterm listsplinterm list --allsplinterm topologysplinterm inspect SPLINT_IDlist emphasizes active Lairs. --all includes exited-only history. IDs returned by these commands are stable topology identities, not window handles.
Create and arrange work
Section titled “Create and arrange work”splinterm new project --cwd "$HOME/src/project"splinterm new-dojo LAIR_ID --name logs -- /usr/bin/journalctl -fsplinterm split SPLINT_ID --axis vertical --side second --ratio 600splinterm ratio SPLINT_ID 500splinterm rename-lair LAIR_ID NAMEsplinterm rename-dojo DOJO_ID NAMEsplinterm rename-splint SPLINT_ID TITLEArguments after -- are executed directly as an argument vector. Splinterm does not rebuild them into shell text.
Lifecycle
Section titled “Lifecycle”| Command | Effect |
|---|---|
kill SPLINT_ID |
End a live process but retain its Splint. |
restore SPLINT_ID |
Start one exited Splint from saved metadata. |
restore-dojo DOJO_ID |
Restore every exited Splint in a Dojo. |
restore-lair LAIR_ID |
Restore every exited Splint in a Lair. |
relaunch SPLINT_ID [-- ARGV...] |
Start a new incarnation, optionally with new argv. |
close SPLINT_ID |
Remove an exited Splint and collapse its layout branch. |
close-dojo DOJO_ID |
Remove a Dojo after every Splint has exited. |
reset |
Back up and clear all persistent topology, then restart cleanly. |
Restore is always explicit. Saved launch metadata is never executed automatically.
Local configuration and presets
Section titled “Local configuration and presets”splinterm config checksplinterm keymap listsplinterm keymap showsplinterm keymap conflictssplinterm preset listsplinterm preset show NAMEsplinterm preset checksplinterm preset run NAME --cwd "$PWD" --dry-runRead Configuration and keymaps and Dojo presets for the strict schemas and bundled Omarchy workflows.
Remote profiles
Section titled “Remote profiles”splinterm remote listsplinterm remote inspect PROFILEsplinterm remote check PROFILEsplinterm --remote PROFILEsplinterm --remote PROFILE reopenThe first two commands are local-only. remote check performs bounded, read-only SSH, relay, and daemon probes without mapping a Window. See Remote access.
Machine output
Section titled “Machine output”splinterm --output json --schema-major 2 --timeout-ms 5000 topologysplinterm --output ndjson --schema-major 2 --timeout-ms 300000 \ subscribe terminal SPLINT_IDMachine mode never prompts. It uses stable schema-major-2 envelopes, explicit timeouts, structured exit categories, resource policy, incarnation checks, and resynchronization rules. Human-readable output and private daemon frames are not compatibility contracts.
For every flag and operation, the current executable’s --help and repository docs/cli.md remain authoritative.