snippetbashTip
gleam — The compiler, build tool, package manager, and code formatter for Gleam, "a friendly language for bu
Viewed 0 times
thecommandbuildgleamclitoolcompilerpackage
Problem
How to use the
gleam command: The compiler, build tool, package manager, and code formatter for Gleam, "a friendly language for building type-safe systems that scale!". More information: <https://gleam.run/writing-gleam/command-line-reference/>.Solution
gleam — The compiler, build tool, package manager, and code formatter for Gleam, "a friendly language for building type-safe systems that scale!". More information: <https://gleam.run/writing-gleam/command-line-reference/>.Create a new gleam project:
gleam new {{project_name}}Build and run a gleam project:
gleam runBuild the project:
gleam buildRun a project for a particular platform and runtime:
gleam run --target {{platform}} --runtime {{runtime}}Add a hex dependency to your project:
gleam add {{dependency_name}}Run project tests:
gleam testFormat source code:
gleam formatType check the project:
gleam checkCode Snippets
Create a new gleam project
gleam new {{project_name}}Build and run a gleam project
gleam runBuild the project
gleam buildRun a project for a particular platform and runtime
gleam run --target {{platform}} --runtime {{runtime}}Add a hex dependency to your project
gleam add {{dependency_name}}Context
tldr-pages: common/gleam
Revisions (0)
No revisions yet.