LinuxCommandLibrary

gleam

The compiler, build tool, package manager and code formatter for Gleam, "a friendly language for building type-safe systems that scale!".

TLDR

Create a new gleam project

$ gleam new [project_name]
copy


Build and run a gleam project
$ gleam run
copy


Build the project
$ gleam build
copy


Run a project for a particular platform and runtime
$ gleam run --target [platform] --runtime [runtime]
copy


Add a hex dependency to your project
$ gleam add [dependency_name]
copy


Run project tests
$ gleam test
copy


Format source code
$ gleam format
copy


Type check the project
$ gleam check
copy

Copied to clipboard