1
0
mirror of https://github.com/go-task/task.git synced 2025-08-08 22:36:57 +02:00

fix: improve curl command install

- works on macOS
- works in Linux (tested in docker container)
This commit is contained in:
sheldonhull
2020-10-16 18:12:26 -05:00
committed by GitHub
parent 6c625b3359
commit 75727c3d68

View File

@@ -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.