Add detailed instructions for installing prebuilt binaries (#978)
This commit is contained in:
parent
3f175cae35
commit
9621f45053
18
README.adoc
18
README.adoc
@ -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
|
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
|
=== GitHub Actions
|
||||||
|
|
||||||
link:https://github.com/extractions/setup-just[extractions/setup-just] can be used to install `just` in a GitHub Actions workflow.
|
link:https://github.com/extractions/setup-just[extractions/setup-just] can be used to install `just` in a GitHub Actions workflow.
|
||||||
|
Loading…
Reference in New Issue
Block a user