# libtmux.common.has_gt_version

- **Module:** libtmux.common
- **Package:** libtmux
- **Language:** Python
- **Kind:** function
- **Source:** https://github.com/tmux-python/libtmux/blob/9fdd083a8181a827889337b63cd4e6daea661a8c/src/libtmux/common.py#L536
- **Page:** https://libtmux.org/en/py/latest/reference/libtmux-common-has_gt_version/

```
libtmux.common.has_gt_version(min_version: str, tmux_bin: str | None = None) -> bool
```

Return True if tmux version greater than minimum.

## Parameters

- `min_version` (str): tmux version, e.g. '3.2a'
- `tmux_bin` (str | None): Path to tmux binary. If *None*, uses the system tmux.

## Returns

bool
    True if version above min_version
