# LibTmux.TmuxEnvironment

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/320dc64f4b8b7815842471327a5e6b84a1499bf8/src/LibTmux/Environment/TmuxEnvironmentOperations.cs#L42
- **Page:** https://libtmux.org/en/dotnet/latest/reference/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

- `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.
