# LibTmux.TmuxEnvironment

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/6656a563ec9e07ab52e0c3ac96f7704fc94cc0c0/src/LibTmux/Environment/TmuxEnvironmentOperations.cs#L42
- **Page:** https://libtmux.org/reference/dotnet/libtmux-tmuxenvironment/

The environment tmux gives to the processes it spawns.

A server has one environment and each session another. Which one a new pane
inherits depends on where it is created, so the two are reached separately
rather than merged.

## Members

- `TmuxEnvironment` (method)
- `GetAllAsync` (method) — Reads every variable in this environment.
- `GetAsync` (method) — Reads one variable.
- `SetAsync` (method) — Sets one variable.
- `RemoveAsync` (method) — Marks a variable removed for the panes tmux spawns.
- `UnsetAsync` (method) — Forgets a variable entirely.
