# LibTmux.TmuxEnvironment

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

### Common operations

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

### Other members

- `GetAsync` (method): Reads one variable.
