# LibTmux::Endpoint.from_env

- **Module:** LibTmux
- **Package:** libtmux
- **Language:** Ruby
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-ruby/blob/da7b6191b9439e3c84fa1c9eeaa9168263ee7af4/gems/libtmux/lib/libtmux/endpoint.rb#L51
- **Page:** https://libtmux.org/en/ruby/v0.1.1/reference/libtmux-endpoint-from_env/

```
def self.from_env: (
  ?untyped,
  **untyped
) -> ::LibTmux::Endpoint
```

The socket of the tmux server this process runs inside, else tmux's
`default` socket. It ignores `LIBTMUX_SOCKET_PATH` and `LIBTMUX_SOCKET`.

Behavior contract: Endpoints.

## Parameters

- `arg1` (`untyped`)
- `kwargs` (`untyped`)
