# io.github.libtmux.kotlin.Environment

- **Module:** io.github.libtmux.kotlin
- **Package:** io.github.libtmux:libtmux-kotlin
- **Language:** Kotlin
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-java/blob/f56392b5d9bc7f1f9c1631842333fb90f3d82d40/libtmux-kotlin/src/main/kotlin/io/github/libtmux/kotlin/Environment.kt#L11
- **Page:** https://libtmux.org/en/kotlin/latest/reference/io-github-libtmux-kotlin-environment/

```
public class Environment
```

Read and update environment variables used to start processes in tmux.

Holds the Java handle privately, so a member here always wins over a same-named catalog-generated
extension in `EnvironmentOperations.kt`.

## Members

### Other members

- `` `get` `` (method): The value set for this name, or empty when it is removed or absent.
- `` `set` `` (method): Sets a name to a literal value.
- `all` (method): Every name set at this scope, in tmux's order.
- `asJava` (property): The Java environment this wraps: the same object, for a Java API that takes one.
- `effective` (method): What a process started from this scope is actually handed, both scopes taken together.
- `equals` (method)
- `hashCode` (method)
- `isRemoved` (method): Whether new processes are told not to inherit this name.
- `remove` (method): Tells processes started after this not to inherit the name.
- `removed` (method): Every name this scope tells a new process not to inherit.
- `server` (property)
- `setExpanded` (method): Sets a name to what a tmux format expands to now.
- `toString` (method)
- `unset` (method): Removes the name from this scope, so it is neither set nor marked.
