Official Docs Breakdown: Desktop Quickstart
hippo: This post is part of the Claude Code Official Docs Breakdown series. It covers the Desktop app—a graphical client wrapping the CLI engine, ideal if you prefer reviewing diffs outside the terminal.
1. What Is Claude Code Desktop?
Claude Code Desktop is Anthropic’s native desktop application with the Claude Code engine bundled in—no separate Node.js installation required. It shares all configuration with the CLI (CLAUDE.md, MCP servers, Hooks, Skills, and settings), and both can run side by side rather than replacing each other.
On top of the CLI, Desktop adds several visual workflows: interactive diff review (inspect changes file by file and leave inline comments), embedded app preview (run your dev server so Claude can see the live UI directly), PR status monitoring (auto-fix failing CI checks and auto-merge once green), and parallel sessions (run multiple tasks simultaneously, each isolated in its own Git worktree). In short: it is a GUI-enhanced frontend to the exact same underlying engine.
2. Official Docs Deep Dive
2.1 The Three Tabs and Installation
The Desktop app is organized into three tabs, each built for a distinct workflow:
| Tab | Capabilities | Best For | File Access |
|---|---|---|---|
| Chat | Pure conversation, matching the claude.ai experience | Everyday Q&A and knowledge lookup | None |
| Cowork | Autonomous cloud agent running in a remote VM | Long-running tasks that continue after you close the app | Isolated cloud environment |
| Code | Local interactive coding assistant | Editing code, refactoring, and debugging | Local project files |
This guide focuses on the Code tab, where core Claude Code workflows live.
Installation: Claude Code comes bundled inside the Desktop app—just download and install it. If you also want the terminal CLI, install it separately:
1 | # macOS / Linux |
Both clients automatically share the same configuration with no extra setup.
2.2 Core Features at a Glance
Open the Code tab, pick a project folder, and start prompting. Here are the features you will reach for most often:
| Feature | How to Trigger | What It Does |
|---|---|---|
| Interrupt & steer | Click Stop and type your correction | Redirect Claude mid-run without waiting for it to finish |
| Add context | Type @filename or drag and drop files |
Give Claude visibility into additional relevant code |
| Reuse Skills | Type / or click + → Slash commands |
Invoke predefined command templates from your project |
| Diff review | Click the +12 -1 change indicator |
Inspect changes file by file with inline comments and AI self-review |
| Permission mode | Switch between Ask / Auto accept / Plan | Control how much approval Claude needs before acting |
Permission modes govern how much oversight you want before Claude modifies files or runs commands:
| Mode | Behavior | Recommended For |
|---|---|---|
| Ask permissions | Requires approval for every file edit and command | New users and critical repositories |
| Auto accept edits | Applies file edits automatically; commands still prompt | Fast iterative development |
| Plan Mode | Analyzes and proposes a plan without editing code or running commands | Scoping large refactors up front |
| Auto | Runs background safety checks automatically to cut down on prompts | Team plan users |
| Bypass permissions | Executes with zero prompts | Sandboxes and VMs only |
Cowork (remote sessions) supports Auto accept edits and Plan Mode, but not Ask permissions.
2.3 Preview, PR Monitoring, and Parallel Sessions
These three capabilities are what truly differentiate Desktop from the CLI.
Preview (Embedded App Preview)
Open the Preview dropdown and Desktop launches your dev server inside a built-in browser. Claude can inspect the rendered UI directly, test APIs, read logs, and compare screenshots—no more trying to describe in prose what a broken layout looks like.
Preview server definitions live in .claude/launch.json:
1 | { |
In a monorepo, define multiple servers and point each one to its subdirectory with cwd:
1 | { |
Key launch.json fields:
| Field | Required | Description |
|---|---|---|
name |
Yes | Unique identifier for the server |
runtimeExecutable |
Yes | Command to run, such as npm, yarn, or node |
runtimeArgs |
Yes | Argument array passed to the command, e.g. ["run", "dev"] |
port |
No | Listening port (defaults to 3000) |
cwd |
No | Working directory relative to the project root (for monorepos) |
autoPort |
No | Automatically pick a free port on conflict (defaults to true) |
PR Monitoring
Once a PR is open, a CI status bar appears inside the session and Claude polls check statuses via the GitHub CLI:
| Feature | Trigger | Behavior |
|---|---|---|
| Auto-fix | CI check fails | Claude reads the failure logs and iterates on fixes automatically |
| Auto-merge | All checks pass | Squash-merges the PR automatically |
Enable Auto-fix and Auto-merge directly from the CI status bar. Note that Auto-merge requires “Allow auto-merge” to be enabled in your GitHub repository settings first.
Parallel Sessions
You can spin up additional Code sessions from the sidebar. Each session runs in its own Git worktree, keeping edits completely isolated—handy when fixing a bug and building a feature at the same time. Combined with scheduled tasks, you can also automate recurring jobs like daily code reviews or weekly dependency checks.
2.4 CLI vs. Desktop Feature Parity
Because Desktop and the CLI share the same engine, most workflows map one-to-one:
| Capability | CLI | Desktop |
|---|---|---|
| Start a session | claude |
Open app → Code tab |
| Target a directory | claude /path/to/project |
Select project folder |
| Auto-accept edits | claude --auto |
Set permission mode to Auto accept edits |
| Plan mode | claude --plan |
Set permission mode to Plan |
| Add file context | CLI args or @file |
Type @filename or drag and drop |
| Invoke Skills | /skill-name |
Type / or click + → Slash commands |
| Inspect diffs | Terminal diff output | Visual diff view (per-file + inline comments) |
| Background tasks | None | Cowork tab |
Features not currently supported in Desktop: --print (non-interactive output), --output-format json (JSON output), and --resume (resume the last session). Those remain CLI-only capabilities tailored for CI and scripting.
3. Hippo’s Hands-On Notes
hippo: Below are real pitfalls I ran into while using the Desktop app.
3.1 Pitfalls and Workarounds
Preview Configuration Pitfall
My blog runs on Hexo, where the dev server starts with yarn dev instead of the usual npm run dev. Desktop failed to auto-detect the right command, so Preview refused to work. I eventually found a fallback using settings.json:
1 | { |
This tells Desktop to run yarn dev, listen on port 4000, and treat the server as ready once terminal output matches Hexo is running. If .claude/launch.json is not picking up your server, try this settings.json alternative.
Understanding Parallel Sessions
When I first opened two parallel sessions and saw different code in each one, I thought it was a bug. In reality, Desktop isolates sessions using Git worktrees—each session gets its own working tree:
1 | # List active worktrees |
Each worktree is a full working directory checkout, so edits never collide. However, they share the same remote repository—watch your branch names when pushing to avoid conflicts, and prune finished worktrees so they do not eat up disk space.
Handing Off a CLI Session to Desktop
If you start in the terminal and later want Desktop’s visual diff view, run /desktop in the CLI to hand the active session off to the Desktop app. Note that this handoff is macOS and Windows only.
3.2 Practical Tips
- Run CLI and Desktop together: Configurations are fully shared—use the terminal for quick one-off commands and Desktop for visual reviews.
- Switch to Plan Mode before big changes: Have Claude lay out the implementation plan first, verify it, and only then switch to Ask or Auto accept to execute.
- Interrupt early when Claude drifts: Don’t wait for a wrong turn to finish—click Stop and course-correct immediately to save both tokens and time.
- Use Preview for frontend verification: Letting Claude boot the dev server and inspect the rendered page is far faster than describing “the button is shifted slightly left” in text.
4. FAQ
Q: Can I use Desktop and the CLI at the same time?
A: Yes. They run the same engine and share every config file—your CLAUDE.md, MCP servers, Hooks, and Skills work identically in both. You can even open CLI and Desktop against the same project simultaneously.
Q: How do I troubleshoot Preview when it won’t start?
A: Walk through this checklist:
- Verify the dev server command (
npm run devvs.yarn dev, etc.). - Check whether another process is already bound to that port.
- If using
settings.json, confirmreadyPatternactually matches your dev server’s stdout. - Make sure the session was opened in the right project directory.
- If
launch.jsonisn’t working, fall back to thesettings.jsonformat from the previous section.
Q: What is the difference between Cowork and Code?
A: Cowork dispatches tasks to a cloud VM and keeps running after you close the app, making it ideal for long, unattended jobs. Code runs locally and prompts for your approval on actions (unless Auto accept is on), making it better suited for tightly controlled interactive coding.
Q: What do I need to do to migrate from CLI to Desktop?
A: Nothing. Both clients read the exact same configuration files:
| Config File | Location | Purpose |
|---|---|---|
CLAUDE.md |
Project root | Project-level context and rules |
~/.claude.json |
User home directory | Global MCP server configuration |
.mcp.json |
Project root | Project-level MCP server configuration |
~/.claude/settings.json |
User home directory | Global settings (permission rules, allowed tools) |
.claude/settings.json |
Project directory | Project-level settings |
.claude/skills/ |
Project directory | Project-level Skills |
Q: Can parallel sessions interfere with each other?
A: No. Each session lives in its own isolated Git worktree, so local file edits never clash. Just keep branch naming clean when pushing to the shared remote so you don’t overwrite work across branches.
5. Summary
Claude Code Desktop is the GUI-enhanced version of the CLI—same engine, same configuration, plus visual diffs, embedded app previews, PR monitoring, and parallel sessions. If you prefer reviewing changes visually, want to run multiple tasks concurrently, or simply spend less time in the terminal, Desktop is well worth trying. And if you already live in the CLI, you don’t have to choose—run both side by side and use whichever fits the task.
Series Navigation
- Index: Claude Code Complete Guide · Series Index
- Previous: Official Docs Breakdown: Claude Code Settings
- Next: Official Docs Breakdown: Use Claude Code in VS Code
Based on the official Get started with the desktop app documentation.
Last updated: 2026-03-31




