From 344e315174938a4e4d07f76ac8d1ec8fbcdba243 Mon Sep 17 00:00:00 2001 From: Justin Su Date: Wed, 17 Jul 2024 17:27:32 -0400 Subject: [PATCH] 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)). --- docs/src/getting-started.md | 4 ++-- docs/src/linux.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/src/getting-started.md b/docs/src/getting-started.md index 228166c0fa..1c94cf5d96 100644 --- a/docs/src/getting-started.md +++ b/docs/src/getting-started.md @@ -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. diff --git a/docs/src/linux.md b/docs/src/linux.md index 9373e25211..27aaa95130 100644 --- a/docs/src/linux.md +++ b/docs/src/linux.md @@ -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: