# server.ServerOptions.environment

- **Module:** server.ServerOptions
- **Package:** @libtmux/libtmux
- **Language:** TypeScript
- **Kind:** property
- **Source:** https://github.com/libtmux/libtmux-ts/blob/2cb93308200da38a26b59876618116850f110607/packages/libtmux/src/server.ts#L101
- **Page:** https://libtmux.org/reference/ts/server-serveroptions-environment/

The complete environment passed to every spawned `tmux` process.

This replaces `process.env`; it is not overlaid on it. Include inherited
entries such as `PATH` explicitly when tmux or its shell needs them. Leave
this unset to inherit the current process environment unchanged.
