git.iko.soy/lynxjs-elm/compiler
on master help sign in
make the npm README look nicer
2f6dd29Evan Czaplicki
installers/npm/README.md+7−9
@@ -9,22 +9,20 @@ 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−**Normal installs** ❌
12+For normal installs, I reccomend using the instructions [here](https://guide.elm-lang.org/install/elm.html) 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:
13
13
14−Use the instructions [here](https://guide.elm-lang.org/install/elm.html) instead.
15−
16−**Multiple versions** ✅
14+**Multiple versions**
17
15
18People 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.
16People 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
17
20−**Continuous integration** ⚠️
18+**Continuous integration**
21
19
22−This works, but there are usually faster and more reliable options:
20+The `npm` installer works for this, but there are faster and more reliable options:
23
21
24−1. 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.
22+1. You can download `elm` directly from GitHub with [this script](https://github.com/elm/compiler/blob/master/installers/linux/README.md). This allows you to skip `npm` entirely.
25−2. Many continuous integration have ways to cache files ([example](https://docs.travis-ci.com/user/caching/)) to make builds faster and more reliable.
23+2. Many continuous integration have ways to cache files ([example](https://docs.travis-ci.com/user/caching/)) to make builds faster and more reliable. This is the ideal setup.
26
24
27−That said, it will definitely work to use the `npm` installer on CI if you prefer that option.
25+That said, it works to use the `npm` installer on CI if you prefer that option.
28
26
29
27
30<br/>
28<br/>