Claude Code desktop app: the Code tab, plans, SSH and the CLI
Claude Code in the desktop app on macOS, Windows and Linux beta: which plans, local, cloud, SSH and WSL sessions, worktrees, and how it differs from the CLI.
Claude Code on desktop is the Code tab of the Claude desktop app, beside Chat and Cowork. It is the same agent as the claude command in a terminal, with a graphical window: a sidebar of parallel sessions, a diff view, a terminal pane and a browser preview. The app carries its own copy of Claude Code, so you need neither Node.js nor the CLI. It runs on macOS 13 or later, Windows 10 or later (x64 and ARM64) and, in beta, Ubuntu 22.04+ and Debian 12+. The Code tab needs a Pro, Max, Ultra, Team or Enterprise plan; Free gets Chat only. A session can run on your computer, in Anthropic’s cloud, on your own server over SSH, or inside WSL on Windows. As of December 1, 2026.
What the Code tab is
Anthropic’s desktop docs put it in one line: “In the Claude Desktop app, Claude Code is the Code tab.” Each conversation there is a session with its own chat history and project folder. You pick a folder, type what you want, and Claude reads the code, edits files and runs commands, as it does in the terminal. What the window adds is the part a terminal does not show well: a +12 -1 indicator that opens a file-by-file diff you can comment on, an integrated terminal (Ctrl+`), a file pane, a Browser pane that shows the dev server Claude starts, image and PDF attachments, and pull-request status that follows your CI checks (with the GitHub CLI, gh, installed and signed in).
The app downloads and updates its own Claude Code, separate from any claude you installed in a terminal: “updating one doesn’t update the other.” Type /status in a local session to see the version the tab runs, and use Claude > Check for Updates… on macOS or Help > Check for Updates… on Windows, then start a new session, to get a newer one. If you also want the terminal command, installing Claude Code covers it.
Platforms and plans
- macOS: one universal build for Intel and Apple Silicon, macOS 13 (Ventura) or later, from claude.com/download.
- Windows: Windows 10 or later, with separate x64 and ARM64 installers and a Microsoft Store listing. Take the direct installer if you will use SSH sessions: the docs say Desktop “from the Microsoft Store doesn’t connect through the OpenSSH client.” The Store build also has no release-channel setting.
- Linux: a beta for Ubuntu 22.04+ and Debian 12+ on x64 or arm64, installed with apt; it has the Code tab, but not computer use. Installing it, and what Fedora and Arch users do instead, is in Claude Desktop on Linux.
The app is available on every plan, Free included, for Chat. The download page says “Claude Code and Claude Cowork are available on Pro, Max, Ultra, Team, and Enterprise.” On Free, clicking Code brings a prompt to upgrade. Which Claude plans include Claude Code has each plan’s price and how its usage limits work. Two features are narrower than the tab: computer use (Claude driving your screen and apps) is macOS and Windows only, needs Pro, Max or Ultra, and “is not available on Team or Enterprise plans”; and on macOS it needs macOS 14.
Sign in with your Claude account. The tab uses Anthropic’s API by default; running it on Amazon Bedrock, Google Cloud’s Agent Platform, Microsoft Foundry or an LLM gateway goes through the app’s own third-party inference configuration.
Where a session runs: local, cloud, SSH or WSL
The first control under the prompt box is the environment selector, and it decides which machine does the work:
| Environment | Runs on | If you close the app |
|---|---|---|
Local | Your computer, “with direct access to your files” | Runs in the app on your computer |
Cloud | “Anthropic-managed infrastructure by default” | “Sessions continue even if you close the app” |
SSH | “your own servers, cloud VMs, or dev containers” | “the task keeps running on the remote machine”, though a Claude-account sign-in can expire under a long one |
WSL (Windows) | A WSL 2 distribution on your PC, with Linux paths | Runs in the app on your computer |
- Cloud is the same service as Claude Code on the web, and you can watch those sessions from claude.ai/code or the phone app. What it runs on, what it keeps and its idle stop are in Claude Code on the web or a machine of your own. A local session can be sent there with Continue in cloud, which carries the conversation over “as a summary”; SSH and WSL sessions cannot be moved that way.
- SSH connects to a host from your SSH config, and “Desktop installs Claude Code on the remote machine automatically the first time you connect.” The session reads the server’s
~/.claude/, not your laptop’s. What the server needs, which features are missing there, and the sign-in limit on long tasks are in the desktop apps over SSH. - WSL needs Windows 10 or 11 with WSL 2 (“WSL 1 isn’t supported”) and
gitinside the distribution. Use it when the repository lives in the distribution’s filesystem. Plugins are not available in WSL sessions, and the file pane is view-only there.
Parallel sessions and worktrees
+ New in the sidebar, or Cmd+N / Ctrl+N, starts another session; Option-click or Alt-click a session in the sidebar to open it side by side. Two sessions in the same folder edit the same files, so for parallel work in a git repository turn on Worktree under the prompt box before you start the session. It is off by default. Each worktree is an isolated checkout, stored in <project-root>/.claude/worktrees/ unless you set Worktree location in Settings > Code (or Settings > Claude Code). Archiving a session can lose what is uncommitted in its worktree, so in the docs’ words, “commit what you want to keep first.”
Worktrees need Git: without it you see “Git is required”. Install Git, or Git for Windows; on Windows, app versions before 1.49585.0 asked for Git before any local session, which an update fixes. For many agents driven from one session, the CLI’s agent teams are “not in Desktop”; the Claude Code orchestrator guide compares the other ways.
Permission modes
The mode selector under the prompt box sets how much Claude does without asking. Older builds named the first three Ask permissions, Auto accept edits and Plan mode.
- Manual: “Claude asks before editing files or running commands.” Each change shows as a diff with approve and decline buttons.
- Accept edits: Claude “auto-accepts file edits and common filesystem commands like
mkdir,touch, andmv, but still asks before running other terminal commands.” - Plan: Claude reads files and runs commands to explore, then proposes a plan without editing your source code, which the docs suggest before large changes.
- Auto: no routine prompts; “a background classifier checks that they align with your request” before shell commands and network requests run. On Anthropic’s API it needs Claude Opus 4.6 or later, Sonnet 4.6 or later, Haiku 5.5 or a Fable model, and an organization can switch it off.
- Bypass permissions: the equivalent of
--dangerously-skip-permissions. Anthropic’s warning: “Only use this in sandboxed containers or VMs.” It is hidden until you turn on Allow bypass permissions mode in Settings > Code on Pro, Max or Ultra; on Team and Enterprise only organization policy can allow it.
Cloud sessions offer Accept edits, Plan and Auto. The CLI’s dontAsk mode has no Desktop equivalent, and neither do per-session --allowedTools flags, but allow and deny rules in your settings files apply to Desktop sessions too. What each mode still stops, and where each belongs, is in running without permission prompts, safely.
Desktop or the terminal CLI
The docs call Desktop “the same underlying engine with a graphical interface” and say you can run both at once “even on the same project.” In local sessions they read the same configuration: CLAUDE.md and CLAUDE.local.md, MCP servers in ~/.claude.json or .mcp.json, hooks, skills, and settings in ~/.claude/settings.json. Desktop also loads the MCP servers of the chat app’s claude_desktop_config.json, which the CLI does not read; claude mcp add-from-claude-desktop copies them across on macOS and in WSL.
| CLI | Desktop | |
|---|---|---|
Several sessions | Separate terminals | Sidebar |
Isolation | --worktree | Worktree toggle |
Scripting | claude -p, the Agent SDK | “Not available. Desktop is interactive only.” |
Recurring work | cron, CI | Scheduled tasks |
Agent teams | Yes | No |
Attachments | No | Images, PDFs |
Permission modes | All, including dontAsk | Manual, Accept edits, Plan, Auto, and Bypass once allowed |
Commands that open a panel in the terminal behave differently in the tab: /permissions answers “isn’t available in this environment”, and /config opens Settings. Edit the settings files for those. Desktop also has no inline code completion, and the experimental Code Mode does not start there.
A session can move from the terminal to the app. Run /desktop inside a CLI session, or, from a shell with Claude Code 2.1.285 or later, one of these: the first opens Desktop on the current folder, the second takes the most recent session in this folder, and the third a session by the ID /status shows.
claude --desktop
claude --desktop --continue
claude --desktop --resume <session-id>Copied/desktop and claude --desktop work on macOS and x64 Windows when signed in with a Claude plan, not with an API key or a cloud provider. A session name does not work in place of the ID, and a session still open in another terminal is not moved. From inside the app, typing /resume in a local session picks up a CLI session from that computer (close it in the terminal first); it continues the same session rather than a copy, so claude --resume still finds it later (more on resuming in getting a session back).
When the laptop closes
A local session runs on your computer. Once Remote Control connects it, it shows up at claude.ai/code and in the Claude apps on your other devices, but Claude “keeps running locally the entire time”, so the phone is a window onto a computer that has to be on (Claude Code from your phone). Desktop’s local scheduled tasks fire “only while the app is open and your computer is awake”; a run the computer sleeps through is skipped, and on waking the app starts one catch-up run for the most recent missed time. The scheduled tasks comparison sets them beside cloud tasks and cron. Dispatch “is being retired and isn’t available to new users.” For work that has to go on without your computer, the choices are a cloud session or a machine of your own that stays on, reached over SSH.
Updates and common errors
On Linux the app “doesn’t update itself”: updates arrive with your system’s apt package updates, which a .deb installed by hand does not opt into. Since November 17, 2026 the Mac and Windows apps have a Release channel setting in Settings > This computer > System or Settings > Desktop app (v4.29.0 or later): Stable by default, or Latest, which gets a new version about once a day. It is not offered in Microsoft Store installs or where an IT team has set a Claude policy. Errors the docs list for the tab:
Error 403: Forbidden: sign out and back in from the app menu, which the docs call the most common fix; check that the plan is a paid one; if the CLI works and the app does not, quit the app fully and sign in again.Failed to load session: the folder no longer exists, the repository needs Git LFS that is not installed, or file permissions block it.- “Git LFS is required by this repository but is not installed”: install Git LFS, run
git lfs install, restart the app. - Claude cannot find
npm,nodeor other tools: check that they work in your terminal and that your shell profile setsPATH, then restart the app. On Windows, Desktop does not read PowerShell profiles, so setPATHin the user or system environment variables. - “Branch doesn’t exist yet” after a cloud session: copy the branch name from the session, then
git fetch origin <branch-name>andgit checkout <branch-name>.