libtmux Reference MCP Search
On this page

server.Server.version

View as Markdown

Module
server
Declared in
Server
Package
@libtmux/libtmux
Source
packages/libtmux/src/server.ts
version ( ) Promise<TmuxVersion>
methodasync [source]
methodasync [source]
version

The tmux version this server is running.

The version is probed once per connection and cached with the rest of the server's capabilities, so asking repeatedly costs nothing after the first.

Examples

const version = await server.version();
version.major; // 3

0 declared, 0 inherited

Esc

Type to search.