- Install Recent Version of Nodejs by downloading and running the installer found at https://nodejs.org/en/ or use the Node Version Manager found at https://github.com/creationix/nvm
- Install Elm by keying the command
npm install -g elm - Install the atom editor located at https://atom.io/
- Install the language-elm using the atom package manager (apm), by keying the command
apm install language-elm - Install elm-oracle by keying
npm install -g elm-oracle - Determine the path where the
elm-oraclecommand was installed by keyingwhich elm-oracleon mac and unix orwhere.exe elm-oracleon windows. Copy the entire path and file name to the clipboard, for use in the next step - Open up Atom, then open up the preferences/settings by pressing
CMD + , (mac) or CTRL + , (windows)or via the menu. Clickpackagesthen filter byelm. Find the language-elm package and click thesettingsbutton. Set theelm-oraclesetting, by pasting the value we copied in the prior step. - Download the current version of elm-format found at https://github.com/avh4/elm-format
- Unzip the downloaded file and move the
elm-formatexecutable to a location in your PATH variable, such asmv ~/Downloads/elm-format /usr/local/bin/elm-format - Install the
elm-formatAtom Package (Note: different from elm-format command), by keyingapm install elm-format - Start Atom, Open up Settings
CMD + ,, clickPackages, filter byelm, then click on theelm-formatpackage'ssettingsbutton. Set theelm-formatcommand path setting and veryify theformat on savecheckbox is checked. - Install atom linter by keying
apm install linter - Install the elm linter by keying
apm install linter-elm-make - Locate and copy the path and file for the
elm-makecommand by keying the commandwhich elm-makefor mac orwhere.exe elm-makeon windows. - Open the
linter-elm-makesettings page in atom as you did in steps 7 and 13, then click the settings button next tolinter-elm-makeand then set theelm-makesetting to the copied value from the prior step. - Install the elmjutsu atom package by keying
apm install elmjutsu
Your atom / elm dev environment should be good to go!