# server.Server.versionAtLeast

- **Module:** server.Server
- **Package:** libtmux
- **Language:** TypeScript
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-ts/blob/3fe1ca654b81b8cbf4a13b777a001a3298c87a6f/packages/libtmux/src/server.ts#L739
- **Page:** https://libtmux.org/en/ts/latest/reference/server-server-versionatleast/

```
server.Server.versionAtLeast(minimum: : string) -> Promise<boolean>
```

Whether this server is at least `minimum`, written the way tmux writes it.

This is how a caller gates on a feature that arrived in a known release
without parsing `#{version}` themselves. A named development build such
as `next-3.9` has not shipped the release it names: it is at least
`3.8`, but not at least `3.9`. An untargeted development build (bare
`master`, or `<tag>-master`) names no release it is heading toward, so
nothing bounds it — it is at least anything.

## Example

```ts
if (await server.versionAtLeast("3.3")) {
  await server.setOption("extended-keys", "on");
}
```
