elm

elm

TLDR

Initialize an Elm project, generates an elm.json file

$ elm init
copy


Start interactive Elm shell
$ elm repl
copy


Compile an Elm file, output the result to an index.html file
$ elm make [source]
copy


Compile an Elm file, output the result to a JavaScript file
$ elm make [source] --output=[destination].js
copy


Start local web server that compiles Elm files on page load
$ elm reactor
copy


Install Elm package from https://package.elm-lang.org
$ elm install [author]/[package]
copy

Copied to clipboard