diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index 29c2d9e41..62449fbd2 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -16,7 +16,7 @@ jobs: steps: - name: Install defang (latest) - run: eval "$(curl -Ls https://s.defang.io/install)" + run: eval "$(curl -fsSL https://s.defang.io/install)" env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} # avoid rate limiting @@ -24,7 +24,7 @@ jobs: run: defang --version - name: Install defang (specific version) - run: eval "$(curl -Ls https://s.defang.io/install)" + run: eval "$(curl -fsSL https://s.defang.io/install)" env: DEFANG_INSTALL_VERSION: v0.5.36 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # alt name diff --git a/README.md b/README.md index ea4e6dd99..a07b81abf 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ Install the Defang CLI from one of the following sources: * Using a shell script: ``` - eval "$(curl -Ls https://s.defang.io/install)" + eval "$(curl -fsSL https://s.defang.io/install)" ``` * Using [Go](https://go.dev): diff --git a/src/bin/install b/src/bin/install index 17a80f715..c53ef210b 100644 --- a/src/bin/install +++ b/src/bin/install @@ -3,7 +3,7 @@ # This script installs the latest release of defang from GitHub. It is designed # # to be run like this: # # # -# eval "$(curl -Ls https://s.defang.io/install)" # +# eval "$(curl -fsSL https://s.defang.io/install)" # # # # This allows us to do some interactive stuff where we can prompt the user for input. # # # diff --git a/src/pkg/cli/upgrade.go b/src/pkg/cli/upgrade.go index 7f9378b5a..82a9f3c8d 100644 --- a/src/pkg/cli/upgrade.go +++ b/src/pkg/cli/upgrade.go @@ -49,7 +49,7 @@ func Upgrade(ctx context.Context) error { } // Default to the shell script - printInstructions(`eval "$(curl -Ls https://s.defang.io/install)"`) + printInstructions(`eval "$(curl -fsSL https://s.defang.io/install)"`) return nil }