Gleam v1.17.0 ships escript support, letting you execute a BEAM program from a single file without standing up a project first.
Version 1.17 of the statically typed functional language adds support for Erlang's escript format. Escript is an OTP mechanism that packages BEAM bytecode and dependencies into a single executable file you invoke directly from the command line. Until now, even the smallest Gleam program required a project directory and the language's build tooling to go from source to running code. The new release changes that, targeting use cases like small CLI utilities, quick experiments, and one-off scripts.
This matters because the ceremony tax has always been one of the quiet barriers to the BEAM ecosystem. Python, Ruby, and newer languages like Go have offered "just run this file" workflows for years; Erlang's own escript has existed for over a decade but never attracted much mainstream attention outside the OTP faithful. Gleam has positioned itself as the more accessible face of BEAM programming, and closing the gap with scripting languages is a logical move.
Erlang's escript has a reputation for being functional but underused — whether Gleam's friendlier surface makes it actually popular is a separate bet from whether the feature exists at all.