git.iko.soy/lynxjs-elm/compiler
on master help sign in
more typesetting changes
commit5cb5ceacd606605296bc97fe83885a18928700e8 authorEvan Czaplicki <evancz@users.noreply.github.com> dateMon 21 Oct 2019, 17:36 (7 years ago) parent4eae013
1 file changed+11−3
installers/npm/README.md+11−3
installers/npm/README.md+11−3
@@ -9,15 +9,23 @@ Head over to [The Official Guide](https://guide.elm-lang.org/) to start learning
99
1010## What is this package for?
1111
12−**For normal installs?** ❌ Use the instructions [here](https://guide.elm-lang.org/install/elm.html) instead.
12+**Normal installs** ❌
1313
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.
1515
16−**For continuous integration?** ⚠️ This works fine, but there may be better options:
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+
22+This works, but there are usually faster and more reliable options:
1723
18241. 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.
19252. Many continuous integration have ways to cache files ([example](https://docs.travis-ci.com/user/caching/)) to make builds faster and more reliable.
2026
27+That said, it will definitely work to use the `npm` installer on CI if you prefer that option.
28+
2129
2230<br/>
2331