# io.github.libtmux.Server.Server.version

- **Module:** io.github.libtmux.Server.Server
- **Package:** io.github.libtmux:libtmux
- **Language:** Java
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-java/blob/842228310449e879ebcaa3f910597757c9dbffd6/libtmux/src/main/java/io/github/libtmux/Server.java#L703
- **Page:** https://libtmux.org/en/java/latest/reference/io-github-libtmux-server-server-version/

```
io.github.libtmux.Server.Server.version() -> TmuxVersion
```

Which tmux this server is running.

Asked of the running server rather than of the binary, because the server may have been
started by a different build than the one this client is invoking.

## Raises

- `ServerNotRunningException`: if no daemon is running
