# LibTmux.Server.StartServerAsync

- **Module:** LibTmux.Server
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/320dc64f4b8b7815842471327a5e6b84a1499bf8/src/LibTmux/Server.Lifecycle.cs#L20
- **Page:** https://libtmux.org/en/dotnet/latest/reference/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.
