# LibTmux.Server.StartServerAsync

- **Module:** LibTmux.Server
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/6656a563ec9e07ab52e0c3ac96f7704fc94cc0c0/src/LibTmux/Server.Lifecycle.cs#L20
- **Page:** https://libtmux.org/reference/dotnet/libtmux-server-startserverasync/

```
LibTmux.Server.StartServerAsync(cancellationToken: CancellationToken) -> Task
```

Starts the tmux server without creating a session.

No handle comes back because there may be nothing to describe: a tmux
server holding no sessions exits as soon as it starts. Materialize with
<see cref="ConnectAsync(CancellationToken)" /> once a session exists.

## Parameters

- `cancellationToken` (CancellationToken) — Cancels the tmux command.
