Skip to content

Commit 948c7ef

Browse files
committed
use sudo when moving the binary
1 parent e3a9a61 commit 948c7ef

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

installers/npm/troubleshooting.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,11 @@ The most reliable way to get Elm installed using the official installers for Mac
1616
You can also download the binaries directly. On Linux, you could do it in the terminal like this:
1717

1818
```bash
19-
curl -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-
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
19+
cd ~/Desktop/
20+
curl -L -o elm.gz https://github.com/elm/compiler/releases/download/0.19.1/binary-for-linux-64-bit.gz
21+
gunzip elm.gz # unzip the file
22+
chmod +x elm # make the file executable
23+
sudo mv elm /usr/local/bin/ # put the executable in a directory likely to be listed in your PATH variable
2324
```
2425

2526
If these exact commands do not work for you, you can try to do the same thing by hand.

0 commit comments

Comments
 (0)