Add -f to curl commands (#14667)

Release Notes:

- Updated curl commands with `-f` for improved error handling
([#14346](https://github.com/zed-industries/zed/issues/14346)).
This commit is contained in:
Justin Su 2024-07-17 17:27:32 -04:00 committed by GitHub
parent 8ef53aafa2
commit 344e315174
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -25,13 +25,13 @@ brew install --cask zed@preview
For most people, the easiest way to install Zed is through our installation script:
```sh
curl https://zed.dev/install.sh | sh
curl -f https://zed.dev/install.sh | sh
```
If you'd like to help us test our new features, you can also install our preview build:
```sh
curl https://zed.dev/install.sh | ZED_CHANNEL=preview sh
curl -f https://zed.dev/install.sh | ZED_CHANNEL=preview sh
```
This script supports `x86_64` and `AArch64`, as well as common Linux distributions: Ubuntu, Arch, Debian, RedHat, CentOS, Fedora, and more.

View File

@ -3,13 +3,13 @@
For most people we recommend using the script on the [download](/download) page to install Zed:
```sh
curl https://zed.dev/install.sh | sh
curl -f https://zed.dev/install.sh | sh
```
We also offer a preview build of Zed which receives updates about a week ahead of stable. You can install it with:
```sh
curl https://zed.dev/install.sh | ZED_CHANNEL=preview sh
curl -f https://zed.dev/install.sh | ZED_CHANNEL=preview sh
```
The install script does not work on systems that: