# tmux.NewServer

- **Module:** tmux
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-go/blob/52968a3181c1c9e6d1b26c565d4b170968ae61c0/tmux/server_options.go#L97
- **Page:** https://libtmux.org/en/go/latest/reference/tmux-newserver/

```
tmux.NewServer(options: ServerOptions) -> (Server, error)
```

NewServer validates and snapshots one tmux configuration without starting tmux. Empty socket selectors use the endpoint selected by the frozen environment.
