# libtmux.Server.__init__

- **Module:** libtmux.Server
- **Package:** libtmux
- **Language:** Python
- **Kind:** method
- **Source:** https://github.com/tmux-python/libtmux/blob/036c521c4b83ce6e434eb50afe2a0d08a6a05e46/src/libtmux/server.py#L170
- **Page:** https://libtmux.org/reference/py/libtmux-server-__init__/

```
libtmux.Server.__init__(self, socket_name: str | None = None, socket_path: str | pathlib.Path | None = None, config_file: str | None = None, colors: int | None = None, on_init: t.Callable[[Server], None] | None = None, socket_name_factory: t.Callable[[], str] | None = None, tmux_bin: str | pathlib.Path | None = None, timeout: float | None = None, kwargs: t.Any) -> None
```
