# LibTmux::Endpoint.from_env

- **Module:** LibTmux
- **Package:** libtmux
- **Language:** Ruby
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-ruby/blob/46474e8a2f03e39fc2b0ff73b6a841777b79c4d2/gems/libtmux/lib/libtmux/endpoint.rb#L51
- **Page:** https://libtmux.org/en/ruby/v0.1.2/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`)
