Claude Code Desktop vs terminal vs VS Code vs web: which one?
Claude Code in the terminal (CLI), the VS Code or IDE extension, Claude Code Desktop or the web: where the code runs, how you review changes and which to pick.
Claude Code is the same agent in the terminal, in VS Code, in the desktop app and in the browser: same engine, same models. Two things change: where the code runs (on your computer or on an Anthropic virtual machine, a remote computer they spin up for you) and how you review what it did. In short: the CLI for automation, VS Code to review changes inside the editor, the desktop app if you’d rather skip the terminal, and the cloud for long-running tasks.
All you need is to know what Claude Code is and what a diff is (the lines added and removed in a file, covered in what a git diff is). Every product detail was checked against the official docs on November 16, 2026, with Claude Code 2.1.325 [9].
Terminal, VS Code, desktop and web in one table
| Terminal (CLI) | VS Code | Desktop app (Code tab) | Cloud (claude.ai/code) | |
|---|---|---|---|---|
| Where the code runs | Your machine | Your machine | Your machine, a server you connect to over SSH, or the cloud [2] | An Anthropic virtual machine [5] |
| How you review changes | In the terminal, or in the IDE diff with /ide [4] | In Manual mode, side by side in the editor, accepting or rejecting each change; in Auto it edits without asking [4] | Diff viewer where you comment on lines and Claude fixes them [2] | Diff viewer with line comments [5] |
| Several tasks at once | One terminal per session, with --worktree [2] | Tabs or windows [4] | Sidebar, split view and the Worktree toggle [2] | Multiple cloud sessions [5] |
| Permission modes | All of them, including dontAsk [10] | Manual, Edit automatically, Plan and Auto; Bypass if you enable it [4] | Manual, Accept edits, Plan and Auto; Bypass if you enable it [2] | Accept edits, Plan and Auto [2] |
Scripts with claude -p | Yes, only here [1] | No | No [2] | No |
| What you install | The CLI | The extension, which bundles its own copy of the CLI [4] | The app, which includes Claude Code [1] | Nothing; you need the repo on GitHub (other hosts, with limitations) [5] |
| Platforms | macOS, Linux, Windows and WSL (Linux inside Windows) | VS Code 1.94 or later | macOS, Windows, and Linux in beta [3] | Browser and mobile |
Bypass is the mode that skips almost every confirmation. And heads up: since version 2.1.283, the terminal and VS Code start in Auto, where Claude edits most files without asking you [10]. To see each change before it’s applied, switch to Manual.
Account requirements differ too. The app requires a paid subscription; the CLI and VS Code also accept an Anthropic Console account. Remote Control also needs a subscription, and the cloud is available on Pro, Max, Ultra, Team and, depending on the seat, Enterprise [1] [4] [5] [6].
First decision: your machine or the cloud?
On your machine, Claude Code uses your files and your MCP servers (the way you plug external services into it, covered in what MCPs are). Close your laptop and the session stops.
In the cloud, Anthropic spins up a virtual machine, clones your GitHub repository and Claude works there. It keeps going even if you shut down your computer, and you can check on it from the browser or your phone [5]. But it has none of what lives only on your disk.
“Web” and “cloud” aren’t the same thing. A cloud session is started from claude.ai/code, from the app by picking a Cloud environment, or with claude --cloud [5]. And claude.ai/code can also be a window into a local session, with Remote Control: the code runs on your computer, which has to stay on [6]. Decide first where the work runs; the interface comes second.
Which configuration is shared and which isn’t
Locally, the project’s CLAUDE.md, ~/.claude/settings.json, hooks (commands that run automatically before or after a Claude action), skills and the MCP servers in ~/.claude.json or .mcp.json work the same in the terminal and in the app [2]. VS Code even shares history with the CLI: claude --resume picks up an editor conversation in the terminal [4].
The cloud only inherits your repository: the repo’s CLAUDE.md, .claude/settings.json and .mcp.json. It doesn’t get your ~/.claude/CLAUDE.md, your user skills, or the MCP servers you added with a plain claude mcp add [7]. If your MCP server works locally but Claude can’t find it in the cloud, save it to the repo’s .mcp.json and commit it:
claude mcp add --transport http my-server --scope project https://example.com/mcp
git add .mcp.json && git commit -m "Share the project's MCP server"
If it needs a token, don’t put it there: store it as a network secret in the cloud environment, which Claude uses without seeing it [7].
Terminal or VS Code: where you read the diff
The difference is in the review. In Manual mode, the extension shows you the original and the proposed change side by side, and you accept or reject each change, or edit the proposal first [4]. For a junior that’s worth a lot: you read the change where you read the rest of the code. In Auto or Edit automatically, there’s no such pause.
The CLI is ahead on features: the extension has fewer commands and lacks the ! shortcut and tab completion [4]. Both have checkpoints, points you can rewind to in order to undo what Claude did.
The confusing part: installing the extension doesn’t give you the claude command. It ships a private copy of the CLI for its panel; to use it in the integrated terminal, install the CLI separately [4]. JetBrains is the opposite: its plugin needs the CLI already installed [8].
Desktop app or terminal: Claude Code without typing commands
The Code tab in the desktop app, what people search for as Claude Code Desktop, is Claude Code with a graphical interface, no CLI install required [1]. You see your sessions in the sidebar, you can put two in split view, and you can turn on Worktree so one works in an isolated copy of the project [2], just like --worktree does in the terminal (git worktrees and Claude Code for parallel agents). The Chat and Cowork tabs are a different product: Claude Code vs Cowork explains it.
It’s not for scripts, and it lacks some advanced CLI features, like dontAsk mode or agent teams [2]. What each mode does is covered in Claude Code permission modes.
You’re not locked in: on macOS and Windows x64, with a claude.ai subscription, /desktop moves your terminal session to the app [1], and /resume in the app brings back the CLI sessions from that computer [2].
Which one to use, depending on who you are
- Junior not yet comfortable in the terminal: the desktop app, if you have a paid plan; if not, VS Code with a Console account (pay as you go). You see the diff without installing any commands on day one.
- You already live in VS Code: the extension, and switch to Manual in the mode indicator to see each change before it’s applied.
- Long tasks you don’t want to babysit: a cloud session. Commit the configuration it needs first (
CLAUDE.md,.mcp.json). - Automation (a script, a CI job): the terminal, the only one of the four that supports scripts with
claude -p. For recurring work there are also scheduled tasks and GitHub Actions [11].
Most of us end up mixing them: they share the engine and the local configuration, so switching doesn’t mean starting from scratch.
Sources
Checked on November 16, 2026 against Anthropic’s official documentation.
- Claude Code overview: surfaces, account requirements, the desktop app including Claude Code, the
/desktophandoff and scripting withclaude -p. - Use Claude Code Desktop: local, SSH and cloud environments, permission modes, diff with comments, worktrees, configuration shared with the CLI and what isn’t in the app.
- Claude Desktop on Linux (beta): beta support for Ubuntu and Debian.
- Use Claude Code in VS Code: requirements, side-by-side diff in Manual mode, permission modes, differences from the CLI, shared history and the CLI bundled with the extension.
- Use Claude Code in the cloud: isolated virtual machine, plans,
claude --cloud, parallel sessions, reviewing changes and the GitHub requirement. - Remote Control: controlling a session that runs on your machine from the browser; requires a subscription.
- Configure cloud environments: which configuration reaches a cloud session, which doesn’t, and network secrets.
- JetBrains IDEs: the plugin needs the CLI installed and opens diffs in the IDE’s viewer.
- Claude Code CHANGELOG: version 2.1.325, the latest released as of the check date.
- Permission modes: modes available on each surface, and Auto as the default mode in the terminal and VS Code since 2.1.283.
- Platforms and integrations: scripting only in the CLI, scheduled tasks and GitHub Actions.
Frequently Asked Questions
Do I need to install Claude Code in the terminal to use the desktop app?
No: the app already includes Claude Code.
Can Claude Code on the web touch files on my computer?
In a cloud session, no: it works on a clone of your GitHub repository inside an Anthropic virtual machine. The exception is Remote Control, where claude.ai/code is just a window into a session running on your machine. There it does use your files, and your computer has to stay on for as long as the session lasts. So before asking what it can touch, check where it’s running.
Is Claude Code in VS Code worse than in the terminal?
It has fewer commands and lacks the ! shortcut, but in exchange reviewing changes is more comfortable. If you miss something, open the integrated terminal and run claude there (with the CLI installed separately).
Picking a surface is the easy part. The hard part is deciding how much autonomy to give the agent and how to check what it does, and that’s what we practice in the design patterns for AI agents course.