How to Use Zed: The Beginner's Guide (First Project, Command Palette, Panes, and Built-In AI)
CodexFuse Team · 2026-10-29T16:20:26.535Z · 11 min read
Zed is the fast, open-source, Rust-based code editor developers keep switching to. This beginner's guide walks you through installing it, opening your first project, driving everything from the command palette, and trying the built-in AI.
If you have heard developers call Zed the fastest code editor they have ever used, this guide shows you how to use Zed from zero: install it on macOS, Linux, or Windows, open your first project, drive everything from the command palette, and try the built-in AI. Zed is an open-source code editor written in Rust, built by the team behind Atom and the Tree-sitter parsing library, and it has been winning over curious VS Code beginner guide readers who want something noticeably quicker. You can be editing real code within ten minutes.
This is a first-use system, not a feature list. Follow it in order: install, open a project, learn the palette, split the screen, add your languages, use the terminal and Git, then turn on the AI. Each section opens with the direct answer, then the detail you need.
What Is Zed, and Why Are Developers Switching to It?
Zed is an open-source, GPU-accelerated code editor written in Rust that launches fast, types without lag, and ships with git, a terminal, debugging, real-time collaboration, and AI tools built in rather than added through extensions. The switchers' pitch is simple: almost everything a VS Code user assembles from add-ons is native in Zed, and the whole interface is driven from one command palette. Zed runs on macOS, Linux, and Windows.
Three design choices explain the speed reputation. The interface renders on the GPU at high frame rates, the editor's text engine was written from scratch in Rust for low-latency typing, and language servers are downloaded and managed for you the moment you open a matching file, so there is no extension-hunting before you can code.
How Do You Install Zed on macOS, Linux, and Windows?
Download Zed from the official site at zed.dev and pick your platform. The install takes about a minute on each one.
Install on macOS
- Open a terminal and run curl -f https://zed.dev/install.sh | sh, or install through Homebrew with brew install --cask zed.
- Open Zed from Applications or Spotlight. The first launch shows a welcome page with quick actions to open a folder, clone a repository, or read the docs.
- To open projects from the terminal later, choose Zed > Install CLI from the menu bar once.
Install on Linux
- Run the official installer: curl -f https://zed.dev/install.sh | sh. It works on Ubuntu, Arch, Debian, and most other distributions.
- Alternatives exist if you prefer your package manager: Flatpak (flatpak install flathub dev.zed.Zed), Nix (nix-env -iA nixpkgs.zed-editor), or the AUR package on Arch.
- One hardware note: on Linux, Zed needs Vulkan-capable GPU drivers for its GPU-accelerated rendering. Update your graphics drivers if the window will not start.
Install on Windows
- Windows is officially supported in the current release — the official docs' shortcut tables list macOS and Linux/Windows side by side, and a Windows installer is available from the download page.
- Download the Windows installer, run it, and launch Zed from the Start menu.
- Open an existing project folder or create a new one, sign in if you want collaboration and hosted AI features, and configure your theme, font size, and terminal in the settings.
How Do You Open Your First Project?
Open a folder, not a file — Zed's project features (search, terminal, Git, the agent) all work against the folder you open. Three ways, in order of usefulness:
- From the terminal: run zed ~/projects/my-app to open that folder. Add -n (zed -n ~/projects/my-app) to open it in a new window instead of the current one.
- From inside Zed: press Cmd+O on macOS or Ctrl+O on Linux/Windows and pick the folder.
- From the welcome page: on first launch, the welcome page offers quick actions to open a folder, clone a repository, or view documentation. Once you open anything, it disappears; reopen it anytime by closing every item in the center pane or searching for "Welcome" in the command palette.
The moment a folder opens, you get the project panel on the left, the editor in the middle, and the status bar at the bottom showing file details, the Git branch, and the language mode.
Why Is the Command Palette the Whole Interface?
The command palette — Cmd+Shift+P on macOS, Ctrl+Shift+P on Linux and Windows — is the one shortcut that makes Zed make sense, because almost every action in the editor is reachable from it. Zed's own docs call it "your gateway to every action": if you forget a shortcut, search for the action name there instead of digging through menus.
New users should learn the palette before the menus. Type a few letters of what you want — "theme", "terminal", "split", "format" — and the fuzzy search finds it. The ten shortcuts below cover 95 percent of daily work; everything else lives one palette search away.
| Action | macOS | Linux / Windows |
|---|---|---|
| Command palette | Cmd+Shift+P | Ctrl+Shift+P |
| Quick file open | Cmd+P | Ctrl+P |
| Go to symbol in file | Cmd+Shift+O | Ctrl+Shift+O |
| Find in project | Cmd+Shift+F | Ctrl+Shift+F |
| Toggle terminal | Ctrl+` | Ctrl+` |
| Split pane | Cmd+\ | Ctrl+\ |
| Open settings | Cmd+, | Ctrl+, |
| Open extensions | Cmd+Shift+X | Ctrl+Shift+X |
| Go to definition | F12 | F12 |
| Open AI assistant inline | Cmd+Enter | Ctrl+Enter |
| Open agent panel | Cmd+Shift+A | Ctrl+Shift+A |
A Vim or Helix user is not left out either: enable vim_mode or helix_mode in the settings to get familiar keybindings without leaving Zed.
How Do Panes, Splits, and Multibuffers Work?
Zed splits the editor into panes so you can look at several files at once, and each pane can hold tabs or a multibuffer — a single scrollable view of multiple excerpts. Split the current pane with Cmd+\ (macOS) or Ctrl+\ (Linux/Windows); close the split the same way or from the palette.
The layout has three zones. The center holds your editor panes. The left dock holds the project panel, outline, and search. The bottom dock holds the terminal, the problems panel, and the Git panel — toggle it with Cmd+J / Ctrl+J. Zed also offers two panel layouts from the title-bar menu: the classic editor-oriented layout, and an agentic layout that puts the agent panel and threads sidebar next to each other on the left for AI-heavy work.
The outline panel deserves one mention for large files: Cmd+Shift+O opens the symbol outline, the fastest way to jump between functions and classes in a big TypeScript or Python file without scrolling.
How Do You Add Languages and Extensions?
For most languages you do nothing: Zed automatically detects, downloads, and manages the language server the moment you open a matching file, so TypeScript, Python, Go, and Rust get syntax highlighting, completions, and go-to-definition without any setup. A few languages need a system-level install first — for example, Rust's analyzer comes through rustup.
When you do need an extension, press Cmd+Shift+X (macOS) or Ctrl+Shift+X (Linux/Windows), search for the language or tool, and click Install. Python developers commonly add the Python and Ruff extensions, then turn on format-on-save so Ruff sorts imports and fixes lint on every save. The rule of thumb: if VS Code needed an extension for it and Zed does not list it, check the extension gallery — but check Zed's native features first, because git, terminal, debugging, collaboration, and Vim mode are built in.
How Does the Built-In Terminal and Git Work?
The terminal is one keystroke away: Ctrl+` toggles a full terminal in the bottom dock, so commands, test runs, and dev servers never leave the editor. If you spend your day in terminals, Zed's agent panel also supports terminal threads that run an agent CLI directly inside the editor — a separate lane from the Warp beginner guide for readers comparing AI terminals.
Git is native, not an extension. The status bar always shows your current branch, and the Git panel shows changes, diffs, and commits. You can even generate commit messages from the Git panel with AI. The workflow most beginners settle into: edit in the center pane, run tests in the toggled terminal, review the diff in the Git panel, commit — all without touching a separate app.
How Do You Use Zed's Built-In AI?
Zed's AI has three layers, and you should meet them in this order: edit prediction, inline assist, and the agent panel. Start by signing in with GitHub in Zed's account settings — that unlocks settings sync, collaboration, and the free AI allowance, which includes 2,000 edit predictions per month on the free tier.
Edit prediction is the quiet one: as you type, Zed offers gray-text completions of the next lines, and you accept with Tab. It is the fastest AI feature because it never asks for a prompt. Inline assist is the deliberate one: select code and press Cmd+Enter (macOS) or Ctrl+Enter (Linux/Windows) to transform just that selection — rewrite a function, add docstrings, explain a block. The agent panel (Cmd+Shift+A / Ctrl+Shift+A) is the ambitious one: describe a task in the prompt box, add files as context, and the agent edits across your project while you review the changes in threads you can run in parallel.
Model access is flexible. Zed can use Zed-hosted models, your own provider API keys, supported subscriptions, gateways, or local models — configure them in the AI settings, and review the privacy page to see each provider's data boundaries before connecting anything sensitive. Readers comparing AI coding assistants can read the Cursor AI beginner guide for the editor-assistant lane and the Claude Code beginner guide for the terminal-agent lane; Zed's lane is the fast editor with all three AI layers in one place.
How Does Real-Time Collaboration Work?
Collaboration is a first-class feature, not a plugin: sign in, share a project, and teammates join your buffer in real time with their own cursors, the way a shared document works. Voice and screen sharing ride along in the same session.
The practical setup is short. Both sides sign in with GitHub, the host opens the project and shares it from the collaboration panel, and guests join from the link or the shared-project list. Because signing in is also what unlocks the free edit predictions and settings sync, most users do it on day one and get collaboration as a bonus.
How Do You Make Zed Yours: Settings, Themes, and Vim Mode?
Open the settings editor with Cmd+, (macOS) or Ctrl+, (Linux/Windows) and search for any setting by name — Zed's settings are a searchable JSON file with a friendly editor on top. The three changes almost everyone makes first:
- Theme: press Cmd+K Cmd+T (macOS) or Ctrl+K Ctrl+T (Linux/Windows) to open the theme picker.
- Font: search for buffer_font_family and set your coding font. Nerd Fonts variants unlock the file icons and glyphs.
- Format on save: search for format_on_save and set it to on so the language server tidies your code every time you save.
Vim users enable vim_mode in the same settings file and get modal editing with Zed's speed underneath; Helix users get helix_mode. Settings sync through your GitHub account carries all of this to your other machines, so the second install takes seconds.
What Can Go Wrong on Day One?
Four first-day problems cover almost every support thread. Check the table before reinstalling anything.
| Symptom | Likely cause | Fix |
|---|---|---|
| Zed will not start on Linux | GPU drivers lack Vulkan support | Update your graphics drivers; Zed's GPU rendering needs a Vulkan-capable driver on Linux. |
| "zed" command not found in terminal | CLI was never installed | On macOS, choose Zed > Install CLI from the menu bar once; on Linux the installer script adds it. |
| No completions for your language | Language server not installed | Open a file in that language and wait a moment — Zed auto-downloads most servers. If yours needs a system install (e.g. rust-analyzer via rustup), install it, then reopen the file. |
| AI features ask for sign-in or a key | Model access not configured | Sign in with GitHub for the free tier (2,000 edit predictions/month), or add a provider API key or local model in the AI settings. |
Sources
- Zed official documentation — Getting Started (zed.dev/docs): welcome page, opening projects via zed ~/projects/my-app or Cmd+O / Ctrl+O, the command palette as "your gateway to every action", extensions via Cmd+Shift+X, settings editor, Agent Panel (Cmd+Shift+A) and inline assist (Cmd+Enter), editor switching guides. Fetched 2026-10-29.
- Zed official documentation — AI Overview (zed.dev/docs/ai/overview): Agent Panel, Inline Assistant, Edit Prediction, Git commit generation; model access via Zed-hosted models, provider API keys, subscriptions, gateways, and local models. Fetched 2026-10-29.
- Zed Editor tech guide — ggprompts.com keybinding cheat sheet: full shortcut table (palette, panes, terminal, problems, zen mode), install commands for macOS/Linux, editor open-source under GPL with the GPUI framework under Apache/MIT. Fetched 2026-10-29.
- Vikas Substack — "The Complete Guide to Zed: A Fast, Modern Editor for Python Developers" (published ~March 2026): Rust/GPUI background, GitHub sign-in unlocking 2,000 free edit predictions per month plus settings sync and collaboration, extensions (Python, Ruff), settings-file approach, git/terminal/debugger/collaboration/Vim mode built in. Fetched 2026-10-29.
- FileHorse — Zed for PC download page (updated October 2026): Windows installer, integrated terminal, Git tools, AI panel, collaboration, the 8-step setup walkthrough. Fetched 2026-10-29.
- ApiDog blog — "How to Install and Use Zed AI CodeEditor for Beginners" (published ~January 2026): install commands, CLI install via Zed > Install CLI, basic usage. Note: its claim that Windows lacks official binaries is stale — the official docs now list Windows support. Fetched 2026-10-29.
- ThePGWolf — "Zed: The Next-Generation Code Editor for Developers" (2026): command-palette-first tips, inline AI assist with Ctrl+Enter, outline panel, automatic LSP detection and management. Fetched 2026-10-29.
Frequently Asked Questions
Is Zed free to use?
Yes. Zed is open-source (GPL) and free to download and use. Signing in with GitHub unlocks a free tier that includes 2,000 AI edit predictions per month, plus settings sync and collaboration; heavier AI use goes through Zed-hosted plans, your own provider API keys, or local models.
Is Zed better than VS Code?
It depends on what you value. Zed starts faster, types with lower latency, and ships git, a terminal, debugging, collaboration, and AI built in, while VS Code wins on extension ecosystem size. Many developers keep both: Zed for fast daily editing, VS Code for niche extensions. Zed's own docs include a VS Code switching guide with keybinding maps.
Does Zed work on Windows?
Yes. Windows is officially supported in the current release — the official documentation's shortcut tables list macOS and Linux/Windows side by side, and a Windows installer is available from the download page. Older guides claiming Windows has no official build are out of date.
How do I turn on Vim mode in Zed?
Open settings with Cmd+, (macOS) or Ctrl+, (Linux/Windows), search for vim_mode, and enable it. Helix users can enable helix_mode the same way. Both give familiar modal keybindings on top of Zed's editor.
How do I open a project from the terminal?
Run zed ~/projects/my-app to open that folder, or zed -n ~/projects/my-app to open it in a new window. On macOS, install the CLI first with Zed > Install CLI from the menu bar; on Linux the installer script sets it up for you.