A tutorial on Elm-Lang.
Our channel Youtube is here Our blog is here
You can install Elm through NPM by running npm install -g elm or you can use the installers on Mac and Windows. Elm can also be built from source
- Go to the atom website and install the atom editor.
- Get NodeJS/Npm from node.js
- Open a terminal or cmd shell and run
apm install language-elm. - Then run
npm install -g elm-oracle - Run
which elm-oraclemac or linux orwhere.exe elm-oraclewindows to get the path for elm-oracle - Copy the elm-oracle path to the settings tab for language-elm inside of atom.
- Next run
apm install elm-formatand navigate to https://github.com/avh4/elm-format to get elm-format - Extract elm-format into your path so that you can easily see it and use it.
- Run
which elm-formatmac or linux orwhere.exe elm-formatwindows to get the path for elm-format - Paste the path of elm-format into the elm-format settings box in Atom.
- Run
apm install linter-elm-makeandwhich elm-makeorwhere.exe elm-make - Copy make sure your elm-make is on your Path and copy the elm-make path into the settings box in the linter-elm-make settings box in atom.
- Open atom and make a .elm and save it with
ctr+c, you should see elm-format and the autocompletion.
Here are the other text editor options and how to install the different packages for them: