---
title: "Single file Gleam BEAM programs with escript"
url: https://daily.dev/posts/single-file-gleam-beam-programs-with-escript-hqjxh2jmz
source_url: https://gleam.run/news/single-file-gleam-beam-programs-with-escript
type: article
source: "Gleam"
published: 2026-06-02T13:27:44.247Z
updated: 2026-06-02T13:28:12.433Z
tags: ["gleam"]
reading_time: 15
upvotes: 3
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Single file Gleam BEAM programs with escript

**[Gleam](https://daily.dev/sources/gleam)** · 15 min read · 3 upvotes · 0 comments

## Summary

Gleam v1.17.0 has been released with several notable improvements. The headline feature is `gleam export escript`, a new command that compiles a Gleam project into a single portable escript file runnable on any machine with Erlang installed — analogous to JavaScript bundlers. The language server gains document highlight support (highlighting all references to a selected variable), improved record update hovering showing unchanged fields, a new 'create unknown module' code action, and several new auto-fix actions including pattern match expansion on discarded values and correct operator suggestions in guard expressions. The compiler now offers context-aware type printing in warnings, better unknown value import suggestions, and `todo` support in constant expressions. Additional improvements include `--no-print-progress` support for `gleam dev`, an outdated dependencies count summary, better monorepo Git detection for `gleam publish`, JavaScript pattern matching optimizations, and three security CVE fixes in the build tool's configuration validation.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://gleam.run/news/single-file-gleam-beam-programs-with-escript>

## Similar posts on daily.dev

- [JavaScript source maps](https://daily.dev/posts/javascript-source-maps-fx5gq2l1b) · Gleam · 6 upvotes · 0 comments
- [A field day for Gleam’s language server](https://daily.dev/posts/a-field-day-for-gleam-s-language-server-gbjw3bzqc) · Gleam · 5 upvotes · 0 comments
- [Elixir v1.19.2 released](https://daily.dev/posts/elixir-v1-19-2-released-vxkzbrjy0) · Elixir Forum · 7 upvotes · 0 comments
- [Gleam update shines on external types](https://daily.dev/posts/gleam-update-shines-on-external-types-mtgm30k2o) · InfoWorld · 0 upvotes · 0 comments

---

Tags: [#gleam](https://daily.dev/tags/gleam)

[View this post on daily.dev](https://daily.dev/posts/single-file-gleam-beam-programs-with-escript-hqjxh2jmz)
