Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.


    Install the Elm Platform command-line tools


    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.



    Become a Member to view code

    You must be a Pro Member to view code

    Access all courses and lessons, track your progress, gain confidence and expertise.

    Become a Member
    and unlock code for this lesson
    orLog In




    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.

    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.