Installing Elm 0.18 now - instructions?


#1

I’ve decided minimize future work on my An Outsider’s Guide to Statically Typed Functional Programming because I no longer think static FP will break out soon. (That is, it’s not ready for early mainstream adopters. Which is OK <= he emphasized)

Porting my book examples to 0.19 doesn’t fit within the “minimize work” idea. See, for example, https://github.com/elm/compiler/issues/1858 - a port would require too much work that has nothing to do with teaching static FP in general.

Because I’m a fan of book readers doing the exercises, I’d like the book to instruct readers how to install Elm 0.18. After some search, it seems hard. Is there a clear description somewhere of how you build a complete 0.18 environment today?


#2

If you’ve got NPM installed, it should be pretty easy!

npm install --global elm@0.18
or
npm install elm@0.18

(I’d be happy to explain the difference between global or local installs, but I won’t bother if you’re already well-versed in NPM)