Ensure people who hit /linux directly have the right instructions (#13959)

Release Notes:

- N/A
This commit is contained in:
Conrad Irwin 2024-07-08 21:43:12 -06:00 committed by GitHub
parent 05e2e4d929
commit 5c95d2806b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 23 additions and 10 deletions

View file

@ -22,12 +22,7 @@ If you'd like to help us test our new features, you can also install our preview
curl 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, and Fedora.
The install script does not work on systems that:
* have no system-wide glibc (for example on NixOS or Alpine)
* have a glibc older than version 2.29 (for example Amazon Linux 2 or Ubuntu 18 and earlier)
* use an architecture other than 64-bit Intel or 64-bit ARM (for example a 32-bit or RISC-V machine)
This script supports `x86_64` and `AArch64`, as well as common Linux distributions: Ubuntu, Arch, Debian, RedHat, CentOS, Fedora, and more.
If this script is insufficient for your use case or you run into problems running Zed, please see our [linux-specific documentation](./linux.md)

View file

@ -1,6 +1,23 @@
# Other ways to install Zed on Linux
# Getting started
## Installing from source
For most people we recommend using the script on the [download](/download) page to install Zed:
```sh
curl 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
```
The install script does not work on systems that:
* have no system-wide glibc (for example on NixOS or Alpine)
* have a glibc older than version 2.29 (for example Amazon Linux 2 or Ubuntu 18 and earlier)
* use an architecture other than 64-bit Intel or 64-bit ARM (for example a 32-bit or RISC-V machine)
# Other ways to install Zed on Linux
Zed is open source, and [you can install from source](./development/linux.md).