Claude Code Cuts Install Size and Memory Use for Native Builds
Anthropic significantly shrank Claude Code's native install and auto-update footprint, compressing the binary with zstd to cut the Linux x64 download from roughly 340 MB to about 75 MB. The same release trims the bundled binary further by storing skill and prompt text more compactly, and lowers runtime memory use by roughly 40 to 70 MB per session by loading code on demand instead of keeping the whole bundle resident. Startup was also made faster by moving sandbox and MCP bring-up off the critical path for the first frame.
Key Takeaways
- Native install size dropped roughly 4.5x on Linux x64, from about 340 MB to about 75 MB, via zstd compression.
- Session memory use fell by 40 to 70 MB because code now loads on demand instead of staying fully resident.
- Long-running sessions get a separate benefit: the runtime now garbage-collects sooner as the heap grows, capping peak memory.
- Startup is faster because sandbox and MCP initialization no longer block the first rendered frame.
- The binary shrank an additional ~2 MB from more compact storage of bundled skill and prompt text.
- These changes are pure infrastructure improvements: no user-facing commands or workflows changed, only speed and footprint.
Smaller Downloads, Lighter Sessions
Claude Code 2.1.243 focuses a meaningful share of its changes on the tool's footprint rather than its feature set. The most visible change: native installs and auto-updates now ship zstd-compressed, cutting the Linux x64 download from about 340 MB down to roughly 75 MB, a reduction of more than four times. Anyone who installs Claude Code fresh, or who receives its frequent auto-updates, downloads dramatically less data as a result.
Less Memory at Runtime
Beyond the download itself, Anthropic changed how the native binary loads its code. Instead of keeping the entire bundle resident in memory for the life of a session, code now loads on demand, which Anthropic says saves roughly 40 to 70 MB of memory per session. A related change makes the runtime garbage-collect sooner as the heap grows, lowering peak memory use in long-running sessions specifically, a scenario where memory could previously creep upward over time.
Faster Starts
Startup time also improved: sandbox and MCP setup no longer block Claude Code's first rendered frame, bare launches skip subcommand registration they don't need, and workflow discovery, settings loading, and trust-store checks were all made cheaper. Anthropic also shaved about 2 MB more off the native binary by storing bundled skill and prompt text more compactly.
Taken together, these changes make Claude Code noticeably lighter to install, update, and run, particularly for anyone on a metered connection, a resource-constrained machine, or a CI environment that repeatedly pulls fresh installs.