# Libtmux.Operations.kill_server

- **Module:** Libtmux
- **Package:** libtmux
- **Language:** OCaml
- **Kind:** constant
- **Source:** https://github.com/libtmux/libtmux-ocaml/blob/7216cdd033e34b4d693c93e4f4a92123eee5e16b/lib/libtmux.mli#L1530
- **Public owner:** Libtmux
- **Page:** https://libtmux.org/en/ocaml/latest/reference/libtmux-operations-kill_server/

```
val kill_server : unit Command.t
```

Stop the whole tmux server: destroy every session and window and close every client. The command has no reply. A backend reports success when the daemon it is bound to has exited, then retires its own connection; other clients of that daemon see it disconnect.
