elm

Installer for Elm: just downloads the binary into node_modules

package.json was changed upon upload, breaking things on Mac and Linux
Last updated 7 years ago by evancz .
BSD-3-Clause · Repository · Bugs · Original npm · Tarball · package.json
$ npm install elm -g
SYNC missed versions from official npm registry.

Elm Installer

Elm is a functional programming language that compiles to JavaScript.

Head over to The Official Guide to start learning Elm!


What is this package for?

For normal installs, I reccomend using the instructions here instead. This package is only for people who enjoy using npm even when it is not necessary, or for people who want to use npm for certain scenarios such as:

Multiple versions

People using Elm at work may use different versions of Elm in different projects. They can run npm install elm@latest-0.19.1 in each project and use the binary at ./node_modules/.bin/elm for compilation.

Continuous integration

The npm installer works for this, but there are faster and more reliable options:

  1. You can download elm directly from GitHub with this script. This allows you to skip npm entirely.
  2. Many continuous integration have ways to cache files (example) to make builds faster and more reliable. This is the ideal setup.

That said, it works to use the npm installer on CI if you prefer that option.


Install Locally

The following command should download the latest Elm 0.19.1 binary:

npm install elm@latest-0.19.1

You should be able to run ./node_modules/bin/elm --version within your project and see 0.19.1. Now you can compile with ./node_modules/bin/elm make src/Main.elm and not disrupt other packages.

Use npm install elm@latest-0.19.0 or npm install elm@latest-0.18.0 for earlier versions.

Note: The latest-X.Y.Z convention is used in case we need to publish patches for the npm installer within a given Elm release. For example, say npm decides that some transitive dependency is not secure. Nothing is changing about Elm or the binaries, but we need to publish a new npm installer that fixes this issue.

Current Tags

  • 0.18.0-exp5                                ...           elm0.18.0 (9 years ago)
  • 0.19.0-no-deps                                ...           elm0.19.0 (8 years ago)
  • 0.19.3-0                                ...           latest (2 months ago)
  • 0.18.0-exp5                                ...           latest-0.18.0 (9 years ago)
  • 0.19.0-no-deps                                ...           latest-0.19.0 (8 years ago)
  • 0.19.1-5                                ...           latest-0.19.1 (6 years ago)
  • 0.19.2-0                                ...           latest-0.19.2 (5 months ago)
  • 0.19.3-0                                ...           latest-0.19.3 (2 months ago)

47 Versions

  • 0.19.3-0                                ...           2 months ago
  • 0.19.2-0                                ...           5 months ago
  • 0.19.1-6                                ...           3 years ago
  • 0.19.1-5                                ...           6 years ago
  • 0.19.1-4                                ...           6 years ago
  • 0.19.1-3                                ...           7 years ago
  • 0.19.1-2                                ...           7 years ago
  • 0.19.1-1 [deprecated]           ...           7 years ago
  • 0.19.1 [deprecated]           ...           7 years ago
  • 0.19.0-no-deps                                ...           8 years ago
  • 0.19.0-bugfix6                                ...           8 years ago
  • 0.19.0-bugfix5 [deprecated]           ...           8 years ago
  • 0.19.0-bugfix4 [deprecated]           ...           8 years ago
  • 0.19.0-bugfix3 [deprecated]           ...           8 years ago
  • 0.19.0-bugfix2 [deprecated]           ...           8 years ago
  • 0.19.0-bugfix1 [deprecated]           ...           8 years ago
  • 0.19.0                                ...           8 years ago
  • 0.18.0-exp5                                ...           9 years ago
  • 0.18.0-exp4 [deprecated]           ...           9 years ago
  • 0.18.0-exp3 [deprecated]           ...           9 years ago
  • 0.18.0-exp2 [deprecated]           ...           9 years ago
  • 0.18.0-exp [deprecated]           ...           9 years ago
  • 0.18.0                                ...           10 years ago
  • 0.18.0-beta [deprecated]           ...           10 years ago
  • 0.17.1                                ...           10 years ago
  • 0.17.1-alpha [deprecated]           ...           10 years ago
  • 0.17.0                                ...           11 years ago
  • 0.17.0-alpha2 [deprecated]           ...           11 years ago
  • 0.17.0-alpha1 [deprecated]           ...           11 years ago
  • 0.16.0                                ...           11 years ago
  • 0.16.0-alpha [deprecated]           ...           11 years ago
  • 0.15.1-beta5 [deprecated]           ...           11 years ago
  • 0.15.1-beta4 [deprecated]           ...           11 years ago
  • 0.15.1                                ...           11 years ago
  • 0.15.1-beta3 [deprecated]           ...           11 years ago
  • 0.15.1-beta2 [deprecated]           ...           11 years ago
  • 0.15.1-beta [deprecated]           ...           11 years ago
  • 0.15.1-alpha [deprecated]           ...           11 years ago
  • 2.0.0 [deprecated]           ...           11 years ago
  • 1.5.2 [deprecated]           ...           11 years ago
  • 1.5.1 [deprecated]           ...           12 years ago
  • 1.5.0 [deprecated]           ...           12 years ago
  • 1.4.1 [deprecated]           ...           12 years ago
  • 1.4.0 [deprecated]           ...           12 years ago
  • 1.3.0 [deprecated]           ...           12 years ago
  • 1.2.0 [deprecated]           ...           12 years ago
  • 0.0.0 [deprecated]           ...           12 years ago
Downloads
Total 91
Today 0
This Week 13
This Month 73
Last Day 0
Last Week 2
Last Month 13
Dependencies (1)
Dev Dependencies (0)
None
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE