From 9621f4505368325068f9f8bccaf9625396eb7ecd Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Sat, 25 Sep 2021 00:45:52 +0200 Subject: [PATCH] Add detailed instructions for installing prebuilt binaries (#978) --- README.adoc | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.adoc b/README.adoc index 0db4332..3158d49 100644 --- a/README.adoc +++ b/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 ``` +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.