npm install elm
Elm is a functional programming language that compiles to JavaScript.
There are installers for Mac and Windows available here. There are also binaries for direct download. These are the most reliable ways to install Elm.
This package tries to download those binaries with npm
. It is sometimes used by people intergating Elm into existing projects or workflows.
Install
The following command should download the elm
binary:
npm install -g elm
If this runs successfully, the elm
binary should be available at:
/usr/local/bin/elm
on Mac and LinuxC:\Users\YOUR_NAME\AppData\Roaming\npm\
on Windows
It should be possible to run elm
from your terminal after this.
If you run into trouble, check out troubleshooting.md.
What is next?
Head over to The Official Guide to start learning Elm!