# types.NewSessionOptions

- **Module:** types
- **Package:** @libtmux/libtmux
- **Language:** TypeScript
- **Kind:** interface
- **Source:** https://github.com/libtmux/libtmux-ts/blob/2cb93308200da38a26b59876618116850f110607/packages/libtmux/src/types.ts#L56
- **Page:** https://libtmux.org/reference/ts/types-newsessionoptions/

## Members

- `groupWith` (property) — Share another session's windows, tmux's `-t`.
- `environment` (property) — Variables to set in the process this starts, tmux's `-e`.
- `height` (property) — Rows for the session's first window.
- `name` (property) — The session's name, tmux's `-s`.
- `shellCommand` (property) — A command for tmux to run in place of the default shell.
- `startDirectory` (property)
- `width` (property) — Columns for the session's first window. See `height`.
- `windowName` (property) — The first window's name. Same rules as `name`.
