Guides
Getting started
Install tmux and run a complete example.
Attaching to tmux
Select a socket and find or create a session.
Sending keys
Send literal text, named keys, and Enter.
Capturing output
Read the screen or scrollback and wait for a result.
Filtering and querying
Find objects and handle missing or ambiguous matches.
Testing
Use isolated tmux servers and manage test cleanup.
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.