Installation
Add beryl to your Gleam project:
gleam add berylThis adds beryl to your gleam.toml dependencies. beryl targets the Erlang (BEAM) runtime — it does not support the JavaScript target.
Requirements
Section titled “Requirements”- Gleam >= 1.3.0
- Erlang/OTP >= 26 (recommended: 27+)
- Target: Erlang only
Dependencies
Section titled “Dependencies”beryl brings in these Gleam packages automatically:
| Package | Purpose |
|---|---|
gleam_stdlib | Standard library |
gleam_erlang | Erlang interop |
gleam_otp | OTP actors |
gleam_json | JSON encoding/decoding |
gleam_crypto | Socket ID generation |
gleam_http | HTTP request types for transport integration |
mist | WebSocket and HTTP server |
birch | Rate limiting |