From 75727c3d68b88d39b3d33add6370640b4a9f16fe Mon Sep 17 00:00:00 2001 From: sheldonhull Date: Fri, 16 Oct 2020 18:12:26 -0500 Subject: [PATCH] fix: improve curl command install - works on macOS - works in Linux (tested in docker container) --- docs/installation.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/installation.md b/docs/installation.md index 50ccabc2..076643fd 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -74,10 +74,12 @@ easily generating this script. ```bash # For Default Installion to ./bin with debug logging -curl -sL https://taskfile.dev/install.sh | sh -s -- -d +sh -c "$(curl -ssL https://taskfile.dev/install.sh)" -- -d + +# For Installation To /usr/local/bin for userwide access with debug logging +# May require sudo sh +sh -c "$(curl -ssL https://taskfile.dev/install.sh)" -- -d -b /usr/local/bin -# For Installation To /usr/local/bin with debug logging -curl -sL https://taskfile.dev/install.sh | sudo sh -s -- -d -b /usr/local/bin ``` > This method will download the binary on the local `./bin` directory by default.