Skip to content

Commit 731c4c5

Browse files
authored
Merge pull request #115 from DefangLabs/linda-fix-bash-docs
update shell install docs to use eval
2 parents ec0570f + e0bd469 commit 731c4c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/getting-started/installing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ We offer a few different ways to install the Defang CLI. You can use a shell scr
2020
You can install the Defang CLI using a shell script. Run the following command in your terminal:
2121

2222
```bash
23-
. <(curl -Ls s.defang.io/install)
23+
eval "$(curl -fsSL s.defang.io/install)"
2424
```
2525

2626
The script will try to download the appropriate binary for your operating system and architecture, add it to `~/.local/bin`, and add `~/.local/bin` to your `PATH` if it's not already there, with your permission. If you do not provide permission it will print an appropriate instruction for you to follow to add it manually. You can also customize the installation directory by setting the `INSTALL_DIR` environment variable before running the script.

0 commit comments

Comments
 (0)