# server.Server.showOptions

- **Module:** server
- **Package:** libtmux
- **Language:** TypeScript
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-ts/blob/073b9d7dedad900bff6f5ec0ea47794e40225870/packages/libtmux/src/server.ts#L1002
- **Page:** https://libtmux.org/en/ts/latest/reference/server-server-showoptions/

```
showOptions(
  options?: CommandOptions,
): Promise<ReadonlyMap<string, string>>
```

Every server-scope option tmux currently reports.

## Examples

```ts
const options = await server.showOptions();
options.get("escape-time");
```

## Parameters

- `options?` (`CommandOptions`)

## tmux command

The tmux commands behind `showOptions`.

- [`show-options`](/en/tmux/latest/manual/show-options/)

## tmux C API

The C declarations in tmux that implement these commands.

- [`cmd_show_options_entry`](/en/tmux/latest/reference/c-variable-cmd_show_options_entry/) (attribute)
- [`cmd_show_options_exec`](/en/tmux/latest/reference/c-function-cmd-show-options-c-cmd_show_options_exec/) (function)

## tmux options

Settings for the server, sessions, windows and panes, with their types, defaults and allowed values.

- [Options](/en/tmux/latest/catalog/options/) (option)

## In other ports

Read the options set on the server

| Language | Equivalent |
| --- | --- |
| Python | [`libtmux.Server.show_options`](/en/py/latest/reference/libtmux-server-show_options/) (method) |
| Ruby | [`LibTmux::Server#options`](/en/ruby/latest/reference/libtmux-server-options/) (method) |
| Rust | [`server.Server.options`](/en/rs/latest/reference/server-server-options/) (method) |
| Go | [`tmux.Server.Options`](/en/go/latest/reference/tmux-server-options/) (method) |
| Java | [`io.github.libtmux.Server.options`](/en/java/latest/reference/io-github-libtmux-server-server-options/) (method) |
| C# | [`LibTmux.Server.Options`](/en/csharp/latest/reference/libtmux-server-options/) (property) |
| C++ | [`libtmux::Server::options`](/en/cxx/latest/reference/libtmux-server-options/) (method) |
| Swift | [`Server.options(_:)`](/en/swift/latest/reference/server-options(_-)/) (method) |

No equivalent is recorded in Lua, PowerShell, Julia, Elixir, Kotlin, Scala or F#.
