# tmux.Server.Version

- **Module:** tmux.Server
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-go/blob/52968a3181c1c9e6d1b26c565d4b170968ae61c0/tmux/server_version.go#L152
- **Page:** https://libtmux.org/en/go/latest/reference/tmux-server-version/

```
tmux.Server.Version(ctx: context.Context) -> (Version, error)
```

Version returns the configured tmux binary's cached version. Failed probes are not cached. A waiting caller can abandon an in-flight shared probe when ctx ends without canceling the caller that owns the probe.
