So you’ve decided to try Claude Code — Anthropic’s AI coding agent that can write, refactor, and debug code autonomously. But then you discover there are three versions: CLI, Web, and Desktop. I’ve been using the CLI as my daily driver since spring 2025, when I jumped ship from Windsurf after Cascade started throwing errors too often. I currently keep the CLI open for 5+ hours a day. I’ve also tried the Desktop app (I mostly skip the Code tab but use the Cowork tab heavily) and poked at the Web version since it launched. Each version runs the same underlying engine, yet they differ wildly in setup, features, and target audience. Which one deserves your time?

📑Table of Contents
  1. Claude Code CLI — The Power User’s Swiss Army Knife
  2. Claude Code Web (claude.ai) — Zero Setup, Full Power
  3. Claude Code Desktop — The Visual Development Environment
  4. Pricing Comparison — All Three Versions in 2026
  5. Choosing the Right Version for Your Role
  6. FAQ — Claude Code CLI vs Web vs Desktop
  7. Summary — Find Your Perfect Match

Here’s the short answer, based on a year of real-world usage:

  • Engineers who live in the terminalCLI — full feature set, Skills, Hooks, CI/CD. The version I actually use all day.
  • Non-engineers (PMs, designers, researchers)Desktop Cowork tab — research, writing, file organization. No coding required.
  • GUI-loving engineersDesktop Code tab — visual diffs and app preview. (I personally bounced off it; IDE-style file management feels underpowered.)
  • Zero-setup seekersWeb — browser-based development on GitHub repos. Safe sandbox, but don’t use it for hosting a live web app.

This article breaks down every difference — features, limitations, pricing, and exactly how to choose — with the real-world pricing journey I went through (Pro → Max 5x → Max 20x). Let’s start with a side-by-side overview.

Feature CLI Web (claude.ai) Desktop
Setup Node.js + terminal None (browser only) App download only
Target Users Engineers Remote devs, security teams GUI users, non-engineers
File Access Full local filesystem GitHub repos only Full local filesystem
CLAUDE.md / Hooks / Skills ★ Full support (global + repo) △ Repo-level CLAUDE.md only (no local config / Hooks) ★ Full support (same engine as CLI)
MCP Integration ★ Full support △ Limited (sandbox restrictions) ★ Easy via Connectors
CI/CD / Headless -p flag
Visual Diffs ★ Side-by-side
App Preview ★ Built-in
Background Execution △ Via remote-control / teleport ★ Native support
Security Scanning ★ Claude Code Security
Pricing Pro / Max / API Pro / Max Pro / Max

Claude Code CLI — The Power User’s Swiss Army Knife

What Is CLI?

Claude Code CLI is an AI coding agent that runs directly in your terminal. It reads your project structure, understands your codebase, and executes tasks autonomously — writing files, running commands, committing code, and more. Think of it as a senior developer who lives inside your shell.

Getting started takes about two minutes:

  1. Install via npm install -g @anthropic-ai/claude-code (or use the native installer for macOS/Linux)
  2. Authenticate with your Pro/Max subscription or set an API key
  3. Navigate to any project directory and run claude

On launch, Claude Code automatically scans your directory structure and loads any CLAUDE.md files it finds — project-specific instructions that shape how the agent behaves for that codebase.

CLI-Exclusive Features

The CLI is where Claude Code’s full power lives. These features are either exclusive to CLI or work best there:

CLAUDE.md

Define global rules (~/.claude/CLAUDE.md) and per-project instructions. Control coding style, forbidden patterns, workflow preferences — all in plain Markdown.

Hook System

14+ trigger points including SessionStart, PreToolUse, PostToolUse, and PermissionRequest. Run custom scripts at every stage of the agent loop — linting, logging, approval gates, you name it.

Skills

Reusable agent capabilities defined under .claude/skills/. Different from custom slash commands — those live in .claude/commands/. Skills are higher-level recipes the agent can invoke as building blocks for complex workflows.

Headless Mode

Run non-interactively with the -p flag. Feed it a prompt, get structured output. Perfect for CI/CD pipelines — automated PR reviews, code generation, test writing on every push.

Agentic Loop

Claude Code can autonomously complete multi-step tasks — reading files, writing code, running tests, fixing errors, and iterating until the job is done. Full autopilot when you trust it.

Sandboxing & Worktrees

OS-level isolation via Linux bubblewrap or macOS seatbelt. The --worktree flag creates an independent git copy so Claude can work on a feature branch without touching your working directory.

Editor Integration

CLI doesn’t mean you’re stuck in a bare terminal. Claude Code integrates with the editors you already use:

  • VS Code — The most mature integration. Checkpoint-based undo, @mentions in chat, parallel conversations across multiple panels. This is where most developers land.
  • JetBrains IDEs — Plugin support for IntelliJ, PyCharm, WebStorm, and the rest of the JetBrains family. Still maturing, but functional.
  • Zed — Community-maintained extension. Lightweight and fast, matching Zed’s philosophy.

My Take — Skills Is the Feature I Can’t Live Without

🏆 Author’s Experience

I’ve been running Claude Code CLI as my main coding tool since spring 2025. On a typical workday I’ve got it open for five hours or more. Out of the six features above, the one I’d call a deal-breaker is Skills. CLAUDE.md and Hooks are great, but Skills is what actually reshaped my workflow.

Drop a few Markdown files into .claude/skills/ and you’ve got slash commands that orchestrate article writing, competitive analysis, code review — whatever you need, end to end. When I finally abandoned Cursor and Windsurf, it wasn’t because CLI had “more features.” It was because Skills gave me composability neither editor could match. Neither the Web version nor Desktop can run Skills today, which is the single biggest reason CLI remains my home base.

Linux Users — What Are Your Options?

🐧 Linux Compatibility Note

Claude Code Desktop is macOS and Windows only. There is no native Linux build. That leaves Linux developers with two realistic choices: the CLI or the Web version.

I run Claude Code CLI on Ubuntu every day and haven’t hit any Linux-specific issues. Install via the native installer or npm, and Hooks, Skills, and CLAUDE.md all work the same way they do on macOS. If you’re on Linux and curious about the Desktop app, my honest recommendation is: start with the CLI, and only start worrying about what you’re missing on Desktop if you actually run into a concrete problem.

Minimal Examples — CLAUDE.md and Hooks

Most comparison articles mention CLAUDE.md and Hooks by name and move on. Here’s what they actually look like in practice.

A project-root CLAUDE.md:

# Project Rules

- Language: TypeScript + React
- Test framework: Vitest
- Always run `npm test` after making code changes
- Wrap external API calls in try/catch
- Commit messages must use a prefix (feat: / fix: / refactor:)

A .claude/settings.json with a SessionStart hook:

{
  "hooks": {
    "SessionStart": [
      { "command": "git status --short" }
    ]
  }
}

That’s it — now every time you start a session, Claude sees your working-tree state before it does anything else. Hooks support 14+ trigger points: run your test suite after every edit with PostToolUse, block dangerous shell commands with PreToolUse, auto-label commits on PermissionRequest. The building blocks are tiny; the leverage is huge.

🏆 Best For — Power Users & DevOps

CLI is for you if you’re comfortable with terminal workflows, need CI/CD pipeline integration, want to build custom workflows via Hooks and Skills, or prefer API key pay-per-use billing for cost optimization. It’s the most flexible and powerful version of Claude Code — and for experienced developers, it’s the obvious starting point.

Claude Code Web (claude.ai) — Zero Setup, Full Power

What Is Web?

Claude Code on the web runs entirely in your browser at claude.ai. No terminal, no Node.js, no local setup whatsoever. Just connect your GitHub account, pick a repository, and start coding. It’s currently available as a research preview for Pro and Max subscribers (as of March 2026).

The key constraint: it’s GitHub-only. If your code lives on GitLab, Bitbucket, or a private server, Web won’t work for you — at least not yet. Access is authorized through the Claude GitHub App, which grants scoped permissions to your repositories.

How the Sandbox Works

Every Web session spins up in an Anthropic-managed cloud isolation environment. Here’s what’s happening under the hood:

  • Custom git proxy — All git operations are relayed through a proxy with scoped credentials. Claude never sees your GitHub token directly.
  • File system isolation — Only the repositories you’ve authorized are accessible. Files like .env are automatically blocked from being read or created.
  • Network restrictions — Package registries (npm, PyPI, etc.) are allowed so Claude can install dependencies. Other outbound connections are restricted.
  • Session isolation — Each session runs independently. No data leaks between sessions or users.

Web-Exclusive Features

Zero Setup

Work on repos you haven’t even cloned locally. Perfect for quick fixes on unfamiliar codebases, reviewing open-source projects, or contributing to repos from any device with a browser.

Background Execution

Fire off a task and close your browser. Check back later via the /tasks panel or the Claude mobile app. The cloud sandbox keeps running without you.

Parallel Sessions

Run multiple independent Web sessions simultaneously — different repos, different tasks, all in separate browser tabs. No local resource constraints.

Claude Code Security

Available for Enterprise and Team plans (since Feb 2026). Automated vulnerability scanning, dependency analysis, multi-stage verification, and a review dashboard for security teams.

My Take — Safe Sandbox, but Don’t Host a Web App With It

🏆 Author’s Experience

I tried the Web version early, right after it launched. The two things I immediately liked: the GitHub integration and the fact that every session runs inside a managed virtual environment. You can experiment with repos you haven’t cloned locally without worrying about breaking your machine.

Here’s the caveat that trips people up: any web app you build inside the Web sandbox runs inside that isolated environment. If you want external traffic to reach it, you need a workaround — and honestly, none of the workarounds are something I’d recommend. My takeaway after using it for months: don’t think of Claude Code Web as “a way to ship a web app from the browser.” Think of it as “a safe place to run and test code.” When you’re ready to deploy, push to production through Vercel, Cloudflare Pages, or your own server — not through the Web sandbox.

Web Limitations

⚠️ Limitations to Keep in Mind

  • GitHub Only — No GitLab, Bitbucket, or local-only repositories. If it’s not on GitHub, it’s not accessible.
  • No Local Files — Can’t read SSH keys, .env files, local config, or anything outside the cloned repo.
  • No CLAUDE.md / Hooks / Skills — The cloud sandbox doesn’t read your local configuration files. Custom workflows don’t apply.
  • Shared Rate Limits — Cloud sessions share your usage quota with regular Claude chat and other Claude Code sessions.
  • Not Built for Hosting a Live Web App — Your app runs inside the isolated sandbox. Reaching it from the outside world requires workarounds that aren’t production-ready.
  • Private Repo Indexing — Some users report personal private repos not indexing correctly. Organization repos tend to work more reliably.

🏆 Best For — Remote Devs & Security Teams

Web is for you if you want to develop without any local setup, need to work on repos you haven’t cloned, or your team needs enterprise security scanning. It’s also great for firing off multiple background tasks in parallel — start a refactoring job, close the tab, and check back when it’s done.

Claude Code Desktop — The Visual Development Environment

What Is Desktop?

Claude Desktop is the native macOS/Windows application from Anthropic (no Linux build). It features three tabs: Chat, Cowork, and Code. The Code tab is essentially a GUI version of Claude Code — the same powerful engine you get in the terminal, wrapped in a graphical interface with visual diffs, app previews, and point-and-click permission management.

Download it from claude.com/download. Like the CLI, it has full access to your local filesystem, terminal, and development tools — no sandboxing constraints.

Claude Code Desktop home screen with Chat, Cowork, and Code tabs
The Claude Desktop home screen — three tabs (Chat / Cowork / Code) each targeting a different workflow. Screenshot from my own install.

🏆 Author’s Experience — I Skip the Code Tab but Live in Cowork

I tried the Desktop Code tab as soon as it shipped. My honest reaction: I went back to the CLI within a day. The reason is narrow but important — the Code tab lacks the IDE-style file tree, tab switching, and search that I rely on, and the keyboard-only CLI workflow felt significantly faster for actual coding. If you’re a GUI-first engineer this might not bother you, but as someone who lives in the terminal, the trade-off didn’t work.

The Cowork tab is a different story — I use it constantly. It’s perfect for the non-coding chores I don’t want to script: research, document drafting, bulk file renames, light data wrangling. A lot of “should I bother with Desktop?” takes online ignore Cowork entirely, and I think that’s a mistake. My real-world split is: CLI for code, Desktop Cowork for everything else.

Desktop-Exclusive Features

★ Visual Diff Review

See every proposed change as a side-by-side diff before it’s applied. Accept or reject individual changes with a click. No more blindly trusting the AI — review everything visually first.

★ App Preview

Claude launches dev servers and renders your app directly in the Desktop window. See the result instantly, and it can auto-fix issues by reading console logs — a tight feedback loop without switching windows.

PR Monitoring

Check CI/CD status for your pull requests directly inside the Desktop app. No need to switch to GitHub or your terminal to see if tests passed.

Cowork Mode

A separate agent for non-coding tasks: research, document writing, file organization, sub-agent coordination, and task scheduling. Designed for PMs, designers, and business professionals.

Desktop Extensions (Connectors)

Install MCP servers with a single click. Desktop ships with a built-in Node.js runtime, so there’s no need to install dependencies manually. GUI-based setup instead of JSON config files.

Visual Permission Management

Manage what Claude can and can’t do through a clean GUI. Toggle file access, command execution, and network permissions without editing config files.

Claude Code Desktop visual permission management screen
Desktop’s permission screen — the GUI equivalent of editing CLI’s settings.json by hand. Easier to grok at a glance if you prefer clicks over JSON.

What Is Cowork Mode?

Cowork is a separate tab from Code — it’s an AI agent designed for non-coding tasks. While the Code tab handles software development, Cowork handles everything else:

  • Research — Gather information, summarize documents, analyze data
  • Writing — Draft emails, reports, documentation, blog posts
  • File Organization — Sort, rename, and restructure files and folders
  • Sub-agent Coordination — Break complex tasks into subtasks and manage them
  • Task Scheduling — Plan and track multi-step workflows

Cowork sessions are shorter and have more guardrails than the CLI’s full agentic loop. It’s designed for people who need AI assistance but aren’t writing code — PMs, designers, business analysts, and anyone who wants a capable AI assistant for day-to-day work.

🏆 Best For — Visual Developers & Non-Engineers

Desktop is for you if you prefer GUI over terminal, want visual diffs and app preview for faster development iteration, need AI for non-coding work too (research, writing, organization) via Cowork, or want the easiest possible MCP server setup through the Connectors GUI.

Pricing Comparison — All Three Versions in 2026

All three versions of Claude Code are included in the same subscription. You don’t pay extra for Desktop or Web access — it’s all bundled together. Here’s how the plans break down:

Plan Monthly CLI Web Desktop Notes
Free $0 Claude Code not available on free plan
Pro $20 Rate limits hit easily with heavy coding use
Max 5x $100 Opus 4.6 access, recommended for pro developers
Max 20x $200 Highest priority, rarely hit limits in practice (official docs still note “Usage limits apply”)
Team (Standard / Premium) Standard from $30 / Premium $150/user Both Standard and Premium seats include Claude Code
Enterprise Custom Audit logs, SCIM, security scanning
API Key Pay-per-use CLI only. Can get expensive with heavy use

⚠️ API Key Billing Warning

Setting an ANTHROPIC_API_KEY environment variable automatically switches Claude Code from subscription billing to pay-per-use API billing — even if you have an active Pro/Max subscription. Be intentional about this. A real-world example: one developer racked up $15,000 worth of API usage in a single month — usage that would have been covered entirely by a $200/month Max plan. If you’re using Claude Code heavily, the subscription is almost always the better deal.

My Plan Journey — Pro → Max 5x → Max 20x

🏆 Author’s Pricing History

I currently run on Max 20x ($200/month). Here’s the path that got me there:

  • Pro ($20) — I burned through the limit almost immediately. Any serious development session hit the cap quickly, so I upgraded within weeks.
  • Max 5x ($100) — Better, but I kept bumping into the 5-hour session cap. Hitting it mid-day kills momentum, and it happened often enough to be disruptive.
  • Max 20x ($200) — Where I live now. I almost never hit the 5-hour cap, and CLI just runs all day.

People ask me all the time: “How long does the $20 Pro plan actually last?” My honest answer: if you’re running CLI for more than a couple of hours a day, Pro isn’t enough. If you use Claude Code for a few hours a week, Pro is fine. The safest approach is to start on Pro, measure your actual usage for a week, and move up only when you feel the constraint.

Claude Code Max 20x plan session usage at 95 percent
Even on Max 20x, a full day of CLI work can push session usage to 95%. Screenshot from one of my heavier days.

💡 Why I Don’t Rely on API Pay-Per-Use

I keep an API key around, but I only use it when I’m embedding Claude into a service I’m building. When my subscription hits its session cap, it can fall back to API billing — but day-in day-out, pay-per-use ends up being more expensive than the Max plan. After a year of real usage I’ve concluded: buying a generous subscription and using it aggressively is dramatically more cost-effective than metering every token.

Choosing the Right Version for Your Role

Different roles call for different tools. Here’s a quick guide based on how you work:

User Type Recommended Why
Terminal-loving engineer CLI Full features, Hooks, agentic loop, CI/CD integration
GUI-preferring engineer Desktop (Code tab) CLI power + visual diffs & app preview
PM / Designer / Non-engineer Desktop (Cowork tab) No coding needed — research, writing, file management
PR Reviewer Desktop + Web Visual diffs locally + security scanning in the cloud
DevOps / CI/CD Engineer CLI (Headless) -p flag for pipeline integration, automated workflows
Remote Developer Web Zero setup, browser-based development from anywhere
Security Team Web (Claude Code Security) Vulnerability scanning, dependency analysis, review dashboard

The Case for Using Multiple Versions

Here’s the thing most people miss: you don’t have to pick just one. All three versions are included in the same subscription at no extra cost, and they complement each other beautifully:

  • CLI + Web — Do your main development locally with CLI, then fire off background tasks (refactoring, test generation, code review) on Web and check back later.
  • CLI + Desktop — Use CLI for automation and headless pipelines, then switch to Desktop for visual diff review before merging.
  • All three — CLI for scripting and CI/CD, Desktop for visual development, Web for quick fixes on repos you haven’t cloned.

⚠️ Shared Rate Limits

One important caveat: rate limits are shared across all versions. Running heavy tasks on Web and CLI simultaneously will eat through your quota faster. If you regularly hit limits, consider upgrading to Max 5x ($100/month) or Max 20x ($200/month).

FAQ — Claude Code CLI vs Web vs Desktop

Can I use Claude Code on the free plan?
No. Claude Code requires a Pro subscription ($20/month) at minimum. The free plan only includes standard Claude chat — no coding agent features.
Does the Web version work with non-GitHub repos?
As of March 2026, no. Web only supports GitHub-hosted repositories. If your code lives on GitLab, Bitbucket, or a self-hosted server, you’ll need to use CLI or Desktop instead.
Which is more powerful — Desktop or CLI?
CLI has more features: Hooks, Skills, headless mode, and the full agentic loop. Desktop’s strength is GUI convenience — visual diffs, app preview, and Cowork mode. Under the hood, they run the same engine. Think of Desktop as CLI with a graphical layer on top (and a few exclusive visual features).
Can I use all three versions at once?
Yes. Your subscription covers all three versions. You can run CLI in your terminal, Desktop on your dock, and Web in your browser simultaneously. Just remember that rate limits are shared across all of them.
API key vs. subscription — which is cheaper?
For heavy users, the subscription wins by a landslide. Claude Code’s agentic loop burns through tokens fast — a single complex task can use thousands of API calls. The Max plan ($100-200/month) provides dramatically more value than pay-per-use for anyone using Claude Code regularly. I personally keep an API key, but only for embedding Claude into products I build. For day-to-day CLI work, I run Max 20x. API keys make sense only for light, occasional use or for CI/CD pipelines with predictable, low-volume workloads.
Can I use Claude Code Desktop on Linux?
No. Claude Code Desktop is currently macOS and Windows only. There is no native Linux build. Linux users should use the CLI or the Web version instead. I run the CLI on Ubuntu with no issues — installation and day-to-day usage work exactly the same way as they do on macOS.
How long does the $20 Pro plan actually last?
It depends on how much you use Claude Code. My honest experience: if you’re coding seriously for a few hours a day, Pro fills up fast and I jumped from Pro to Max 5x to Max 20x within months. If you only use Claude Code a few hours per week, Pro is fine. The safest way to choose: start on Pro, track your usage for a week, and upgrade only when you feel the ceiling.
Code tab vs. Cowork tab — how do you use them?
The Code tab is for software development (same engine as the CLI). The Cowork tab is for non-coding work — research, document writing, file organization, multi-step admin tasks. My personal split: CLI for code, Desktop Cowork for everything else. I bounced off the Code tab because its file/search management felt underpowered compared to the terminal, but GUI-first engineers may have the opposite experience.
Can I host a web app I build in Claude Code Web?
Not really — and I wouldn’t recommend trying. Claude Code Web runs your code inside an Anthropic-managed sandbox. Development servers start fine, but reaching them from the outside world requires workarounds that aren’t production-ready. Think of the Web version as “a safe place to write and test code,” then deploy through a real hosting provider (Vercel, Cloudflare Pages, your own server) when you’re ready to ship.

Summary — Find Your Perfect Match

Engineers: CLI with Skills. Non-engineers: Desktop Cowork tab. That’s the split I’ve settled into after a year of daily usage.

EngineersCLI — Full Skills, Hooks, CLAUDE.md, headless, agentic loop. The version I actually run 5+ hours a day.

Non-engineers (PMs, designers)Desktop Cowork tab — research, writing, and file wrangling, no coding required.

GUI-first engineersDesktop Code tab (I personally prefer the CLI for coding, but your mileage may vary).

Zero setupWeb — Safe sandbox for GitHub repos, but don’t use it to host a live web app.

Linux usersCLI primarily, with Web as a secondary option (Desktop is macOS/Windows only).

Pricing → Start on Pro, move to Max 5x or Max 20x as soon as you feel the session cap.

The three versions complement each other — combining them maximizes your productivity.
Start with the one that matches how you work today, then add the others as your needs grow.

👉 15 Claude Code Efficiency Tips You Should Know

👉 Claude Code Security Setup Guide

👉 How to Automate Your Work with Claude Cowork

👉 Claude Pricing Plans Explained

👉 Claude Code Skills — The Complete Guide

krona23

Author

krona23

Over 20 years in the IT industry, serving as Division Head and CTO at multiple companies running large-scale web services in Japan. Experienced across Windows, iOS, Android, and web development. Currently focused on AI-native transformation. At DevGENT, sharing practical guides on AI code editors, automation tools, and LLMs in three languages.

DevGENT about →

One response to “Claude Code CLI vs Web vs Desktop: A Daily User’s Guide (2026)”

  1. […] 参考:Claude Code CLI vs Desktop vs Web 比較 (2026) – devgent.org、公式プラットフォーム比較 – Claude Code Docs […]

Leave a Reply

Trending

Discover more from DevGENT

Subscribe now to keep reading and get access to the full archive.

Continue reading