Skip to content

Commit 75727c3

Browse files
authored
fix: improve curl command install
- works on macOS - works in Linux (tested in docker container)
1 parent 6c625b3 commit 75727c3

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/installation.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,12 @@ easily generating this script.
7474

7575
```bash
7676
# For Default Installion to ./bin with debug logging
77-
curl -sL https://taskfile.dev/install.sh | sh -s -- -d
77+
sh -c "$(curl -ssL https://taskfile.dev/install.sh)" -- -d
78+
79+
# For Installation To /usr/local/bin for userwide access with debug logging
80+
# May require sudo sh
81+
sh -c "$(curl -ssL https://taskfile.dev/install.sh)" -- -d -b /usr/local/bin
7882

79-
# For Installation To /usr/local/bin with debug logging
80-
curl -sL https://taskfile.dev/install.sh | sudo sh -s -- -d -b /usr/local/bin
8183
```
8284

8385
> This method will download the binary on the local `./bin` directory by default.

0 commit comments

Comments
 (0)