# LibTmux.Server.StartServerAsync

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** C#
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/cf34b255c896d19a97e7d7fabea58609c916012d/src/LibTmux/Server.Lifecycle.cs#L23
- **Page:** https://libtmux.org/en/csharp/latest/reference/libtmux-server-startserverasync/

tmux command: [`start-server`](/en/tmux/latest/manual/start-server/)

```
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.
