Claude Code — Anthropic’s leading AI coding agent — just made one of its most significant architectural upgrades: migrating the runtime from Node.js to Bun, now rewritten in Rust.
Why this matters
For developers using Claude Code daily, performance isn’t a “nice to have” — it defines the experience. Every time Claude Code scans a codebase, reads a file, or spawns a subprocess, latency accumulates. On large codebases (50,000+ files), wait times could reach several seconds per operation — enough to break flow state.
Simon Willison reported on his blog (July 19) that the Bun-Rust migration delivers “substantial” performance improvements. The post quickly hit the Hacker News front page.
Concrete improvements
Based on user reports:
| Operation | Node.js (old) | Bun-Rust (new) | Improvement |
|---|---|---|---|
| CLI startup | ~800ms | ~200ms | ~4x |
| Project scan (10K files) | ~3.5s | ~0.9s | ~4x |
| Large file read (5MB) | ~120ms | ~35ms | ~3.4x |
| Subprocess spawn | ~150ms | ~40ms | ~3.75x |
Numbers based on unofficial Hacker News user reports — not officially confirmed by Anthropic.
How to update
# Update Claude Code to the latest version
npm install -g @anthropic-ai/claude-code@latest
# Check runtime version
claude --version
# Expected: claude-code/2.x (bun-rust)
# For CI/CD usage, update the Docker image
docker pull anthropic/claude-code:latest
No code or config changes needed — this runtime change is transparent to users.
Real-world experience
“On Node.js, every time Claude Code needed to read context from my project, there was a pause. On Bun-Rust, it feels like it reads everything instantly,” shared an engineer at a 50-person startup on HN.
Another developer added: “The difference is most noticeable when working with monorepos. Before, my flow kept getting interrupted waiting for Claude Code to ‘think.’ Not anymore.”
Implications for the AI coding ecosystem
This move raises questions for competitors. Kimi CLI (Moonshot AI), GitHub Copilot CLI, and other agents — will they follow?
More importantly, it shows that the AI coding race isn’t just about “which model is smarter.” It’s also about: who can deliver that intelligence to developers fastest, smoothest, with the least friction. In that race, Bun-Rust is a strong move.
Install and get started
If you haven’t used Claude Code yet:
npm install -g @anthropic-ai/claude-code
claude
After authenticating with an API key, you’re ready. No complex configuration — Claude Code automatically detects your codebase and starts working.