Server.version
Which tmux this server is running.
Source and package
- Qualified name
-
io.github .libtmux .Server. version - Package
- io.github.libtmux
- Declared in
Server- Distribution
- io.github.libtmux:libtmux
- Source
- libtmux/src/main/java/io/github/libtmux/Server.java
- Other languages
- Perl Erlang PowerShell Julia Elixir Haskell Common Lisp Python Ruby Lua TypeScript Rust GoC# C++ Swift Kotlin Scala OCaml F# Clojure
-
Description#
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
-
-
Server
Unavailable – if no daemon is runningException
-
In other ports#
Which tmux this server runs
| Language | Equivalent |
|---|---|
| Python | no equivalent on Server |
| Erlang | tmux |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | server |
| Rust | no equivalent on Server |
| Go | tmux |
| C# | Lib |
| C++ | Server::tmux_version asks the executable with tmux -V without reaching a server |
| Swift | Server |
| OCaml | Libtmux |
| Perl | Read the acquired snapshot metadata version; the core has no standalone live version getter. |
No equivalent is recorded in Ruby, Lua, PowerShell, Julia, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.