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

@ -6,11 +6,10 @@ Welcome to Zed, a high-performance, multiplayer code editor from the creators of
## Installation
You can [download](https://zed.dev/download) Zed today for macOS (v10.15+).
You can [download](https://zed.dev/download) Zed today for macOS (v10.15+) and most Linux installations.
Support for additional platforms is on our [roadmap](https://zed.dev/roadmap):
- Linux ([tracking issue](https://github.com/zed-industries/zed/issues/7015))
- Windows ([tracking issue](https://github.com/zed-industries/zed/issues/5394))
- Web ([tracking issue](https://github.com/zed-industries/zed/issues/5396))
@ -26,6 +25,8 @@ Alternatively, to install the Preview release:
brew install --cask zed@preview
```
For Linux users, [other installation options are available](https://zed.dev/docs/linux#other-ways-to-install-zed-on-linux) depending on your package manager.
## Developing Zed
- [Building Zed for macOS](./docs/src/development/macos.md)

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).