|
| 1 | +# Zed |
| 2 | + |
| 3 | +[Zed](https://zed.dev/) is an [open-source](https://github.com/zed-industries/zed) |
| 4 | +multiplayer code editor from the creators of Atom and Tree-sitter. |
| 5 | + |
| 6 | +## Use Zed to connect to Coder via SSH |
| 7 | + |
| 8 | +Use the Coder CLI to log in and configure SSH, then connect to your workspace with Zed: |
| 9 | + |
| 10 | +1. [Install Zed](https://zed.dev/docs/) |
| 11 | +1. Install Coder CLI: |
| 12 | + |
| 13 | + <!-- copied from docs/install/cli.md - make changes there --> |
| 14 | + |
| 15 | + <div class="tabs"> |
| 16 | + |
| 17 | + ### Linux/macOS |
| 18 | + |
| 19 | + Our install script is the fastest way to install Coder on Linux/macOS: |
| 20 | + |
| 21 | + ```sh |
| 22 | + curl -L https://coder.com/install.sh | sh |
| 23 | + ``` |
| 24 | + |
| 25 | + Refer to [GitHub releases](https://github.com/coder/coder/releases) for |
| 26 | + alternate installation methods (e.g. standalone binaries, system packages). |
| 27 | + |
| 28 | + ### Windows |
| 29 | + |
| 30 | + > **Important:** If you plan to use the built-in PostgreSQL database, you will |
| 31 | + > need to ensure that the |
| 32 | + > [Visual C++ Runtime](https://learn.microsoft.com/en-US/cpp/windows/latest-supported-vc-redist#latest-microsoft-visual-c-redistributable-version) |
| 33 | + > is installed. |
| 34 | +
|
| 35 | + Use [GitHub releases](https://github.com/coder/coder/releases) to download the |
| 36 | + Windows installer (`.msi`) or standalone binary (`.exe`). |
| 37 | + |
| 38 | +  |
| 39 | + |
| 40 | + Alternatively, you can use the |
| 41 | + [`winget`](https://learn.microsoft.com/en-us/windows/package-manager/winget/#use-winget) |
| 42 | + package manager to install Coder: |
| 43 | + |
| 44 | + ```powershell |
| 45 | + winget install Coder.Coder |
| 46 | + ``` |
| 47 | + |
| 48 | + </div> |
| 49 | + |
| 50 | + Consult the [Coder CLI documentation](../../install/cli.md) for more options. |
| 51 | + |
| 52 | +1. Log in to your Coder deployment and authenticate when prompted: |
| 53 | + |
| 54 | + ```shell |
| 55 | + coder login coder.example.com |
| 56 | + ``` |
| 57 | + |
| 58 | +1. Configure Coder SSH: |
| 59 | + |
| 60 | + ```shell |
| 61 | + coder config-ssh |
| 62 | + ``` |
| 63 | + |
| 64 | +1. Connect to the workspace via SSH: |
| 65 | + |
| 66 | + ```shell |
| 67 | + zed ssh://coder.workspace-name |
| 68 | + ``` |
| 69 | + |
| 70 | + Or use Zed's [Remote Development](https://zed.dev/docs/remote-development#setup) to connect to the workspace: |
| 71 | + |
| 72 | +  |
| 73 | + |
| 74 | +<blockquote class="admonition note"> |
| 75 | + |
| 76 | +If you have any suggestions or experience any issues, please |
| 77 | +[create a GitHub issue](https://github.com/coder/coder/issues) or share in |
| 78 | +[our Discord channel](https://discord.gg/coder). |
| 79 | + |
| 80 | +</blockquote> |
0 commit comments