Add detailed instructions for installing prebuilt binaries (#978)

This commit is contained in:
Casey Rodarmor 2021-09-25 00:45:52 +02:00 committed by GitHub
parent 3f175cae35
commit 9621f45053
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -188,6 +188,24 @@ You can use the following command on Linux, MacOS, or Windows to download the la
curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to DEST
```
For example, to install `just` to `~/bin`:
```
# create `~/bin`
mkdir -p ~/bin
# download and extract `just` to `~/bin/just`
curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to ~/bin
# add `~/bin` to the paths that your shell searches for executables
# this line should be added to your shells initialization file,
# e.g. `~/.bashrc` or `~/.zshrc`
export PATH="$PATH:$HOME/bin"
# just should now be executable
just --help
```
=== GitHub Actions
link:https://github.com/extractions/setup-just[extractions/setup-just] can be used to install `just` in a GitHub Actions workflow.