Guides
Use these guides to connect to tmux, send input, capture output, query objects, and test your program. Concepts explains the object model and transport choices.
Examples provides complete programs with setup and cleanup.
- Getting started Guide · Install tmux and run a complete example.
- Attaching to tmux Guide · Select a socket and find or create a session.
- Sending keys Guide · Send literal text, named keys, and Enter.
- Capturing output Guide · Read the screen or scrollback and wait for a result.
- Filtering and querying Guide · Find objects and handle missing or ambiguous matches.
- Command senders Guide · Use the optional stdexec adapter with a command runtime.
- Testing Guide · Use isolated tmux servers and manage test cleanup.