⚠️ This lesson is retired and might contain outdated information.

Install the Elm Platform command-line tools

Murphy Randle
InstructorMurphy Randle
Share this video with your friends

Social Share Links

Send Tweet
Published 7 years ago
Updated 2 years ago

Getting Elm installed. We will install the Elm CLI with npm. This gives us access to elm-repl and elm-reactor. The repl lets us play with expressions at the command-line, and reactor starts a development server which builds Elm files on-demand.

[00:00] Here I am in an empty folder and I want to get Elm installed. Elm's binaries are available through npm. I can install them just by typing $ npm install -g elm. Then I wait for a while. There it is. Now I can type elm. It should be in my path.

[00:16] I can also type elm-reactor to start the dev server, or I can type elm-repl to start a Read-eval-print-loop, and inside of here I can test it out, foo = 1, looks good, bar = 2, and foo + bar = 3. We have elm installed.

egghead
egghead
~ 9 minutes ago

Member comments are a way for members to communicate, interact, and ask questions about a lesson.

The instructor or someone from the community might respond to your question Here are a few basic guidelines to commenting on egghead.io

Be on-Topic

Comments are for discussing a lesson. If you're having a general issue with the website functionality, please contact us at support@egghead.io.

Avoid meta-discussion

  • This was great!
  • This was horrible!
  • I didn't like this because it didn't match my skill level.
  • +1 It will likely be deleted as spam.

Code Problems?

Should be accompanied by code! Codesandbox or Stackblitz provide a way to share code and discuss it in context

Details and Context

Vague question? Vague answer. Any details and context you can provide will lure more interesting answers!

Markdown supported.
Become a member to join the discussionEnroll Today