Skip to content

Commit

Permalink
Ensure people who hit /linux directly have the right instructions (#1…
Browse files Browse the repository at this point in the history
…3959)

Release Notes:

- N/A
  • Loading branch information
ConradIrwin authored Jul 9, 2024
1 parent 05e2e4d commit 5c95d28
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 10 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand All @@ -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)
Expand Down
7 changes: 1 addition & 6 deletions docs/src/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
21 changes: 19 additions & 2 deletions docs/src/linux.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,23 @@
# Other ways to install Zed on Linux
# Getting started

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:

## Installing from source
```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).

Expand Down

0 comments on commit 5c95d28

Please sign in to comment.