I’m trying to teach some people how to code.
I had them install Elm (on OS X) by following the instructions here: https://guide.elm-lang.org/install.html.
They couldn’t run elm-repl because their /usr/local/bin was root-only.
Googling “fix usr local permissions os x” yielded many discussions and possible solutions.
Running sudo chown -R $(whoami) /usr/local/* seemed to do the trick.
(Note that in the interim we tried, the REPL suggested at https://guide.elm-lang.org/install.html. It has a bug where you can get other people’s output. So we learned that 55 = 121.)
OK, finally we can run elm-repl. Now we’re told we need to install Node first.
Now, if I have my students install Node, will this work, or will there be something else?
Would we be better off installing via homebrew? Presumably that would take care of the elm -> node dependancy (and any others) as well as permissions apparently.
I’d recommend elm-format to any new user (as the install article does), so that might be another point for homebrew.
Any other suggestions as to how a person should install Elm?