Fix instructions for install command (#330)

Target was incorrect for Linux.
This commit is contained in:
Casey Rodarmor 2018-07-08 23:32:34 -07:00 committed by GitHub
parent 506b2a6432
commit e4ab3416f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,13 +52,20 @@ On Windows, `just` works with the `sh` provided by https://git-scm.com[Git for W
Pre-built binaries for Linux, MacOS, and Windows can be found on https://github.com/casey/just/releases[the releases page]. Pre-built binaries for Linux, MacOS, and Windows can be found on https://github.com/casey/just/releases[the releases page].
You can use the following command to download the latest binary for your platform, just replace `DESTINATION_DIRECTORY` with the directory where you'd like to put `just`: You can use the following command to download the latest binary for MacOS or Windows, just replace `DESTINATION_DIRECTORY` with the directory where you'd like to put `just`:
```sh ```sh
curl -LSfs https://japaric.github.io/trust/install.sh | \ curl -LSfs https://japaric.github.io/trust/install.sh | \
sh -s -- --git casey/just --to DESTINATION_DIRECTORY sh -s -- --git casey/just --to DESTINATION_DIRECTORY
``` ```
On Linux, use:
```sh
curl -LSfs https://japaric.github.io/trust/install.sh | \
sh -s -- --git casey/just --target x86_64-unknown-linux-musl --to DESTINATION_DIRECTORY
```
=== Homebrew === Homebrew
On MacOS, `just` is a available through the https://brew.sh[Homebrew] package manager. Install Homebrew using the instructions at https://brew.sh, then run: On MacOS, `just` is a available through the https://brew.sh[Homebrew] package manager. Install Homebrew using the instructions at https://brew.sh, then run: