Files
tldr/pages/common/elm.md
T
Managor b2d3c84281 devfsadm, bun-pm-pkg, piper, aa-unconfined, wmic, trdsql, electron-packager, cheatshh: adhere to the style guide (#22003)
* Update devfsadm.md

* Update devfsadm.md

* Update piper.md

* Update bun-pm-pkg.md

* Update aa-unconfined.md

* Update wmic.md

* Update trdsql.md

* Update elm.md

* Update electron-packager.md

* Update cheatshh.md
2026-04-13 12:17:03 +10:00

608 B

elm

Compile and run Elm source files. More information: https://guide.elm-lang.org/install/elm.html.

  • Initialize an Elm project, generates an elm.json file:

elm init

  • Start interactive Elm shell:

elm repl

  • Compile an Elm file, output the result to an index.html file:

elm make {{source}}

  • Compile an Elm file, output the result to a JavaScript file:

elm make {{source}} --output={{destination}}.js

  • Start local web server that compiles Elm files on page load:

elm reactor

elm install {{author}}/{{package}}