# tmux.Server.RefreshVersion

- **Module:** tmux.Server
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-go/blob/5f808882015a975a65acc7f9da5b3ff0d5cbdc91/tmux/server_version.go#L159
- **Page:** https://libtmux.org/reference/go/tmux-server-refreshversion/

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

RefreshVersion invalidates the cached version and probes the binary again. Canceling ctx stops this call's wait; it does not establish whether a probe reached the configured binary.
