Server.version()
Which tmux executable this server runs.
Source and package
- Qualified name
-
Server.version() - Declared in
Server- Package
- libtmux-swift
- Source
- Sources/LibTmux/TmuxVersion.swift
- Other languages
- Perl Erlang PowerShell Julia Elixir Haskell Common Lisp Python Ruby Lua TypeScript Rust GoJavaC# C++ Kotlin Scala OCaml F# Clojure
- version() -> Tmux
Version -
Description#
Read from the binary rather than from a running daemon, so it answers before anything is started, and answers for a release too old to serve commands: a diagnostic, not a version check. A build this library cannot parse throws rather than reporting a version it guessed. Commands are checked against the daemon instead; see
Server/run(_:)-(TmuxCommand).- Raises
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 |
| Java | io |
| C# | Lib |
| C++ | Server::tmux_version asks the executable with tmux -V without reaching a 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#.