# Server.removeEnvironment(_:in:)

- **Module:** Server
- **Package:** libtmux-swift
- **Language:** Swift
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-swift/blob/f02a4668570e1cc5198c941413750e021f42c214/Sources/LibTmux/Environment.swift#L99
- **Page:** https://libtmux.org/reference/swift/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`
