Welcome! This guide provides clear steps to install the Zed Code Editor. The official documentation was difficult to follow, so I created this simplified version.
-
Download Rust Init from:
-
Open the downloaded rustup-init.exe file. When prompted, choose 1. Default Installation.
-
After installation, verify it by opening a new terminal and typing:
rustup
If you see information about the rustup command, the installation was successful.
-
Download and Install Build Tools:
Download the Visual Studio Build Tools installer from:
Run the installer and select the following components:
- MSVC v143 - VS 2022 C++ x64/x86 build tools
- Windows 10 SDK (10.0.18362)
- C++ CMake tools for Windows
Complete the installation process.
-
Install the Windows SDK:
Make sure you have at least
Windows 10 SDK version 2104 (10.0.20348.0)
installed. You can download the latest version of the Windows SDK from: -
Clone the Zed repository:
git clone https://github.com/zed-industries/zed.git
-
Navigate to the cloned folder:
cd zed
-
Run the application:
cargo run --release
You have now successfully installed Zed!
Ensure you have the following:
- Visual Studio Build Tools (or Visual Studio Community)
- GitHub CLI
- rustup
If you encounter build issues, try the following workarounds:
-
Update Rust and add the WebAssembly target:
rustup update rustup target add wasm32-wasi
-
Verify your installation of the Windows SDK and ensure that the correct version is installed.