# types.NewWindowOptions.environment

- **Module:** types.NewWindowOptions
- **Package:** @libtmux/libtmux
- **Language:** TypeScript
- **Kind:** property
- **Source:** https://github.com/libtmux/libtmux-ts/blob/2cb93308200da38a26b59876618116850f110607/packages/libtmux/src/types.ts#L124
- **Page:** https://libtmux.org/reference/ts/types-newwindowoptions-environment/

Variables to set in the process this starts, tmux's `-e`.

Each pair goes as its own flag, so a value holding `=` arrives whole. This
is the only scope that fits one process: `setEnvironment` writes the
session's, which every later pane in it inherits too.
