on master help sign in
more typesetting changes
5cb5ceaEvan Czaplicki
installers/npm/README.md+11−3
@@ -9,15 +9,23 @@ Head over to [The Official Guide](https://guide.elm-lang.org/) to start learning
9
9
10## What is this package for?
10## What is this package for?
11
11
12−**For normal installs?** ❌ Use the instructions [here](https://guide.elm-lang.org/install/elm.html) instead.
12+**Normal installs** ❌
13
13
14−**For 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.
14+Use the instructions [here](https://guide.elm-lang.org/install/elm.html) instead.
15
15
16+**Multiple versions** ✅
17+
18+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.
19+
20+**Continuous integration** ⚠️
21+
16−**For continuous integration?** ⚠️ This works fine, but there may be better options:
22+This works, but there are usually faster and more reliable options:
17
23
181. You can download `elm` directly from GitHub with [this script](https://github.com/elm/compiler/blob/master/installers/linux/README.md). This is all the `npm` installer does, but with extra HTTP requests to `npmjs.com` servers, making it slower and adding more failure points.
241. You can download `elm` directly from GitHub with [this script](https://github.com/elm/compiler/blob/master/installers/linux/README.md). This is all the `npm` installer does, but with extra HTTP requests to `npmjs.com` servers, making it slower and adding more failure points.
192. Many continuous integration have ways to cache files ([example](https://docs.travis-ci.com/user/caching/)) to make builds faster and more reliable.
252. Many continuous integration have ways to cache files ([example](https://docs.travis-ci.com/user/caching/)) to make builds faster and more reliable.
20
26
27+That said, it will definitely work to use the `npm` installer on CI if you prefer that option.
28+
21
29
22<br/>
30<br/>
23
31