# Guides

Source: https://libtmux.org/en/tmux/guides/

> Task-oriented walkthroughs that sit between the concepts and each port's own API reference.

Use these guides to connect to tmux, send input, capture output, query objects,
and test your program. [Concepts](https://libtmux.org/en/tmux/concepts/) explains the object model and
transport choices.

[Examples](https://libtmux.org/en/tmux/examples/) provides complete programs with setup and cleanup.

The general guides use tmux shell commands. Select a port from the dropdown
for its library APIs, imports and native project setup.


- [Getting started](https://libtmux.org/en/tmux/guides/getting-started/): Install tmux and run a complete example.
- [Attaching to tmux](https://libtmux.org/en/tmux/guides/attaching-to-tmux/): Select a socket and find or create a session.
- [Sending keys](https://libtmux.org/en/tmux/guides/sending-keys/): Send literal text, named keys, and Enter.
- [Capturing output](https://libtmux.org/en/tmux/guides/capturing-output/): Read the screen or scrollback and wait for a result.
- [Filtering and querying](https://libtmux.org/en/tmux/guides/querying-and-filtering/): Find objects and handle missing or ambiguous matches.
- [Testing](https://libtmux.org/en/tmux/guides/testing-with-libtmux/): Use isolated tmux servers and manage test cleanup.
