# Server.removeEnvironment(_:in:)

- **Module:** Server
- **Package:** libtmux-swift
- **Language:** Swift
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-swift/blob/254f8b2be7eb60cacc3ffcb3ea8e456784f582df/Sources/LibTmux/Environment.swift#L100
- **Page:** https://libtmux.org/en/swift/latest/reference/server-removeenvironment(_-in-)/

```
Server.removeEnvironment(_:in:)(name: String, in: EnvironmentScope) -> TmuxReply
```

Marks a variable so new processes start without it, even when it is set in the environment tmux itself was started from.

## Raises

- `TmuxError`
