# tmux_version

- **Package:** libtmux_erlang
- **Language:** Erlang
- **Kind:** module
- **Source:** https://github.com/libtmux/libtmux-erlang/blob/d1b6308440cf9eb8f6647e7ae434bce60e849368/apps/libtmux_erlang/src/tmux_version.erl#L1
- **Page:** https://libtmux.org/en/erlang/latest/reference/tmux_version/

Parse the output of tmux -V without invoking tmux.

Support covers tmux 3.3a through 3.8, including intermediate releases. The
minimum-version check includes the patch letter; numeric feature comparisons
use major/minor components. CI tests the endpoints of the supported range. Use
`tmux_server:version/1` for the daemon version observed by an endpoint.

## Members

### Common operations

- [`require/1`](/en/erlang/latest/reference/tmux_version-require-1/) (function): Reject a tmux release below the supported floor.

### Other members

- [`at_least/2`](/en/erlang/latest/reference/tmux_version-at_least-2/) (function): Compare numeric major/minor components with a required floor. Patch letters do not promote an older minor release. Performs no I/O.
- [`parse/1`](/en/erlang/latest/reference/tmux_version-parse-1/) (function): Parse bounded tmux -V output into numeric components and patch/tracking metadata. This is pure parsing, not a probe or compatibility qualification.
- [`t/0`](/en/erlang/latest/reference/t-tmux_version-t-0/) (typealias): Parsed numeric daemon version plus patch, tracking and original-output metadata.

## Guides

Pages that discuss `tmux_version`.

- [Native API documentation](/en/erlang/latest/guides/api-documentation/)
