on master help sign in
use sudo when moving the binary
948c7efEvan Czaplicki
installers/npm/troubleshooting.md+5−4
@@ -16,10 +16,11 @@ The most reliable way to get Elm installed using the official installers for Mac
16You can also download the binaries directly. On Linux, you could do it in the terminal like this:
16You can also download the binaries directly. On Linux, you could do it in the terminal like this:
17
17
18```bash
18```bash
19+cd ~/Desktop/
19−curl -o elm.gz https://github.com/elm/compiler/releases/download/0.19.1/binary-for-linux-64-bit.gz
20+curl -L -o elm.gz https://github.com/elm/compiler/releases/download/0.19.1/binary-for-linux-64-bit.gz
20−gunzip elm.gz # unzip the file
21+gunzip elm.gz # unzip the file
21−chmod +x elm # make the file executable
22+chmod +x elm # make the file executable
22−mv elm /usr/local/bin/ # put the executable in a directory likely to be listed in your PATH variable
23+sudo mv elm /usr/local/bin/ # put the executable in a directory likely to be listed in your PATH variable
23```
24```
24
25
25If these exact commands do not work for you, you can try to do the same thing by hand.
26If these exact commands do not work for you, you can try to do the same thing by hand.