mirror of
https://github.com/go-task/task.git
synced 2025-03-17 21:08:01 +02:00
fix: improve curl command install
- works on macOS - works in Linux (tested in docker container)
This commit is contained in:
parent
6c625b3359
commit
75727c3d68
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user