惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

J
Java Code Geeks
Stack Overflow Blog
Stack Overflow Blog
B
Blog RSS Feed
C
Check Point Blog
D
Docker
Y
Y Combinator Blog
Recent Announcements
Recent Announcements
Google DeepMind News
Google DeepMind News
MongoDB | Blog
MongoDB | Blog
博客园_首页
Apple Machine Learning Research
Apple Machine Learning Research
量子位
有赞技术团队
有赞技术团队
IT之家
IT之家
大猫的无限游戏
大猫的无限游戏
D
DataBreaches.Net
M
MIT News - Artificial intelligence
B
Blog
阮一峰的网络日志
阮一峰的网络日志
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
腾讯CDC
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
V
V2EX
月光博客
月光博客

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
10 GB VM for a chatbot: What the hell is Claude doing on ...
Fernando Rod · 2026-04-30 · via DEV Community

Fernando Rodriguez

The 10 GB surprise

You install Claude Desktop on your Mac. Everything's fine, the app is lightweight. But one day you check your disk and discover this:

~/Library/Application Support/Claude/vm_bundles/claudevm.bundle

Enter fullscreen mode Exit fullscreen mode

10.8 GB.

Excuse me? Ten gigs for a chatbot? What's in there, the extended Lord of the Rings trilogy?

Nope. Ubuntu.

The Claude product trinity

Before I explain the what, let me explain the why. Anthropic has three ways to give you access to Claude:

Product Where it runs For whom
claude.ai Anthropic servers Everyone
Claude Desktop + Cowork VM on your Mac Professionals
Claude Code Directly on your system Developers

The web version is the safe option: everything happens in Anthropic's cloud, nothing touches your machine. But if you want Claude to do real things on your computer — create documents, execute code, move files — you need something more.

That's where Cowork and Claude Code come in, two completely different philosophies.

Cowork: Claude Code for everyone else

Cowork is the name of the agent Anthropic launched on January 12, 2026. Its official tagline:

"Claude Code for the rest of your work"

While Claude Code is designed for developers who live in the terminal, Cowork is designed for you when you're not programming. The lawyer who wants to organize contracts. The analyst who needs to extract data from 50 PDFs. The professor who wants to convert their notes into a presentation.

What it can do

  • You give it access to a folder on your Mac
  • Claude reads, edits, and creates files within it
  • Can create Office documents (Word, Excel, PowerPoint) without you having anything installed
  • Can execute Python or JavaScript code if needed
  • Can launch multiple "sub-agents" in parallel for heavy tasks

Real example

"Hey Claude, I have 30 receipt screenshots in this folder. Make me a spreadsheet with date, description, and amount for each one."

And Claude does it. Reads the images, extracts the data with OCR, creates the Excel file, and leaves it there for you.

The curious fact

Cowork was built almost entirely by Claude Code in 1.5 weeks. Claude writing the next generation of Claude products. Inception but with fewer Leo DiCaprios and more tokens.

The VM: The security trick

Here's the clever part. When Cowork executes code or manipulates files, it doesn't do it directly on your Mac. It does it inside a completely isolated Ubuntu virtual machine.

Why? Because letting an AI execute arbitrary code on your system is like giving your house keys to a very smart stranger. They might be trustworthy, but better they don't have access to the knife drawer.

What's inside those 10 GB

Component Size What for
Ubuntu 24.04 ~3 GB The operating system
Chromium + Playwright ~920 MB For web scraping and automation
LibreOffice ~148 MB Create Office documents
Node.js, Python, Java ~600 MB Execute code
CJK Fonts ~305 MB Chinese/Japanese/Korean support
Pandoc, LaTeX ~450 MB Document conversion

A complete office environment inside a security box.

The security model

┌─────────────────────────────────────────┐
│            Your Mac (host)              │
│  ┌───────────────────────────────────┐  │
│  │      Ubuntu VM (sandbox)          │  │
│  │  ┌─────────────────────────────┐  │  │
│  │  │   Claude runs here          │  │  │
│  │  │   - No access to your disk  │  │  │
│  │  │   - Filtered network        │  │  │
│  │  │   - Resets each session     │  │  │
│  │  └─────────────────────────────┘  │  │
│  │                                   │  │
│  │  /mnt/user-data/ ← Your folder   │  │
│  └───────────────────────────────────┘  │
│                                         │
│  Rest of your Mac: INACCESSIBLE        │
└─────────────────────────────────────────┘

Enter fullscreen mode Exit fullscreen mode

The VM can only see the folder you give it access to. It can't touch your photos, your documents, your .ssh. Even the network is filtered: it can only talk to PyPI, npm, GitHub, and little else.

If Claude screws up inside the VM, the damage stays contained there.

Claude Code: No safety net

And then there's Claude Code, which is... another story entirely.

brew install claude-code
claude

Enter fullscreen mode Exit fullscreen mode

Claude Code has no VM. No sandbox. No safety net. When you tell it "run this command," it runs it directly in your terminal. With your permissions. With access to your files. With your SSH keys.

It's like the difference between showing someone a photo of your house and giving them your house keys.

Why would I want that?

Because if you're a developer, you need Claude to have real access to your environment:

  • Your git repository with all its files
  • Your build tools (npm, cargo, uv)
  • Your tests to run them
  • Your credentials to deploy

You can't develop serious software from inside an isolated VM that knows nothing about your project.

The permission model

Claude Code isn't the wild west. It has a permission system:

  • Always allowed: Read files, search code
  • Requires your OK: Execute commands, write files, make network requests

Every command it wants to execute is shown to you first. You decide whether to approve it.

Claude wants to execute: npm test
[Approve] [Deny] [Always approve]

Enter fullscreen mode Exit fullscreen mode

The model is: I trust Claude to read and understand my code, but I want to see what it's going to do before it does it.

Cowork vs Claude Code: The comparison

Aspect Cowork Claude Code
Interface GUI app Terminal
Isolation Full VM None
Office docs ✅ Included ❌ Install them yourself
Repo access ❌ Only given folder ✅ Everything
Git push ❌ No your config ✅ Your credentials
Network Filtered Full
If it messes up Damage contained Can affect your system
Startup ~5-10s Instant
Disk ~10.8 GB ~50 MB

When to use each one?

Use Cowork when:

  • You want to create/edit Office documents
  • You need to execute code that isn't yours (suspicious by default)
  • You're organizing personal files
  • You're not a developer

Use Claude Code when:

  • You're developing software
  • You need access to your repo, tests, tools
  • You want to deploy
  • You're debugging something that requires system access

And Copilot?

Many people ask me how this compares to GitHub Copilot. Short answer: they're different philosophies.

Copilot is autocomplete on steroids. Lives inside your IDE, suggests code as you type, line by line. It's fast, doesn't interrupt your flow, and is great for boilerplate.

Claude (Cowork/Code) is an agent. Makes plans, executes complete tasks, touches multiple files. Slower but more powerful.

Scenario Better option
Writing code fast Copilot
Massive refactoring Claude
Completing patterns Copilot
Understanding legacy code Claude
Complex debugging Claude
GitHub PR reviews Copilot

The conclusion I've seen in the community:

"Copilot makes you faster. Claude makes you better. In 2026 you need both."

Can I delete the VM?

Yes. If you don't use the code execution features:

  1. Claude Desktop → Settings
  2. Disable "Code Execution and File Creation"
  3. Optionally: rm -rf ~/Library/Application\ Support/Claude/vm_bundles/

You get back 10 GB. You still have normal chat with Claude.

Wrap up

Next time someone asks you why Claude Desktop takes up so much space, you'll know what to answer: because there's a whole Ubuntu inside with LibreOffice, Chromium, Python, Node, and everything needed for Claude to work with files for real.

It's the price of security. They could have made Claude execute code directly on your Mac, but then every time Claude messed up (and LLMs do mess up), the damage would be real.

I'd rather have 10 GB of VM than an accidental rm -rf / in my home directory.


Want to know more about Claude Code? Here's my git optimization tutorial that I wrote with it.

This article was originally written in Spanish and translated with the help of AI.