Precompiled for Linux or macOS
The easiest way to install Gleam on Linux and Apple macOS is to download a prebuilt version of the compiler from the GitHub release page.
asdf version manager
Build from source
The compiler is written in the Rust programming language and so if you wish to build Gleam from source you will need to install the Rust compiler.
# Download the Gleam source code git repository cd /tmp git clone https://github.com/lpil/gleam.git --branch v0.2.0 cd gleam # Build the Gleam compiler. This will take some time! make install # Verify the compiler is installed # Prints "gleam $VERSION" gleam --version