mirror of
https://github.com/go-task/task.git
synced 2025-11-27 22:38:20 +02:00
fix: improve curl command install
- works on macOS - works in Linux (tested in docker container)
This commit is contained in:
@@ -74,10 +74,12 @@ easily generating this script.
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# For Default Installion to ./bin with debug logging
|
# 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.
|
> This method will download the binary on the local `./bin` directory by default.
|
||||||
|
|||||||
Reference in New Issue
Block a user