Skip to content

Commit

Permalink
add -L to curl
Browse files Browse the repository at this point in the history
  • Loading branch information
lionello committed May 3, 2024
1 parent 73541c2 commit 469e0bd
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Install the Defang CLI from one of the following sources:
```
* Using a shell script:
```
. <(curl -s https://s.defang.io/install.sh)
. <(curl -Ls https://s.defang.io/install.sh)
```
* Using [Go](https://go.dev):
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ brew install defang-io/defang/defang
You can install the Defang CLI using a bash script. Just run the following command in your terminal:

```bash
. <(curl -s https://s.defang.io/install.sh)
. <(curl -Ls https://s.defang.io/install.sh)
```

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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: actions/checkout@v4

- name: Install defang
run: . <(curl -s https://s.defang.io/install.sh)
run: . <(curl -Ls https://s.defang.io/install.sh)

- name: Login to Defang
run: defang login
Expand Down
2 changes: 1 addition & 1 deletion samples/other/vllm/ui/src/app/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ brew install defang-io/defang/defang
You can install the Defang CLI using a bash script. Just run the following command in your terminal:

```bash
. <(curl -s https://s.defang.io/install.sh)
. <(curl -Ls https://s.defang.io/install.sh)
```

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.
Expand Down
2 changes: 1 addition & 1 deletion src/bin/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# This script installs the latest release of defang from GitHub. It is designed #
# to be run like this: #
# #
# . <(curl -s https://s.defang.io/install.sh) #
# . <(curl -Ls https://s.defang.io/install.sh) #
# #
# This allows us to do some interactive stuff where we can prompt the user for input. #
# #
Expand Down

0 comments on commit 469e0bd

Please sign in to comment.