# server.ServerOptions.socketPath

- **Module:** server
- **Package:** libtmux
- **Language:** TypeScript
- **Kind:** property
- **Source:** https://github.com/libtmux/libtmux-ts/blob/073b9d7dedad900bff6f5ec0ea47794e40225870/packages/libtmux/src/server.ts#L167
- **Page:** https://libtmux.org/en/ts/latest/reference/server-serveroptions-socketpath/

The socket path, passed to tmux as `-S`.

Takes the place of [`socketName`](/en/ts/latest/reference/server-serveroptions-socketname/); the two are mutually exclusive. See
[`ServerOptions.socketName`](/en/ts/latest/reference/server-serveroptions-socketname/) for what is used when neither is given.
