# LibTmux::Server#options

- **Module:** LibTmux
- **Package:** libtmux
- **Language:** Ruby
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-ruby/blob/da7b6191b9439e3c84fa1c9eeaa9168263ee7af4/gems/libtmux/lib/libtmux/operations.rb#L7
- **Page:** https://libtmux.org/en/ruby/v0.1.1/reference/libtmux-server-options/

```
def options: (
  ?scope: :server | :session | :window
) -> ::LibTmux::Options
```

Behavior: Options and hooks.

Behavior contract: Options and hooks.

## Parameters

- `scope` (`:server | :session | :window`)

## 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) |
| TypeScript | [`server.Server.showOptions`](/en/ts/latest/reference/server-server-showoptions/) (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#.
