Run with a custom session name
bin/teemux start --name myserver node server.js
Show all cc- sessions
bin/teemux list
Capture last 80 lines of output
bin/teemux check <session>
Kill a session
bin/teemux stop <session>
Send input to a running session
bin/teemux send <session> <keys...>
Continuously watch output (loops capture-pane)
bin/teemux tail <session>
Attach interactively (not for agent use)
bin/teemux attach <session>
code
</Commands> <ExampleOutput>
bin/teemux start bun run test started cc-test
bin/teemux list SESSION CREATED WINDOWS STATE cc-test 14:23:01 1 detached
bin/teemux check test ✓ base.js core object system ✓ inheritance chain ✓ method dispatch 42 tests passed
bin/teemux stop test stopped cc-test
code
</ExampleOutput> <Tips> - Use `check` for a quick snapshot of recent output; use `tail` when you need to watch output over time - Session names resolve flexibly: `test` and `cc-test` both work for check/stop/send - `start` auto-derives names: `bun run test` → `cc-test`, `node server.js` → `cc-server` - Collisions get suffixed: if `cc-test` exists, next one becomes `cc-test-2` - `attach` drops into the real tmux session — mention `tmux attach -t <session>` to the user if they want to attach manually - Exit codes: 0=success, 1=usage error, 2=session not found, 3=session already exists </Tips>