Claude Code uses Bun written in Rust now
Claude Code v2.1.181 quietly swapped its JavaScript Bun runtime for the Rust rewrite — and almost nobody noticed, which is the point.
What happened
Claude Code v2.1.181, released on June 17th, 2026, switched from the original JavaScript implementation of Bun to Bun rewritten in Rust. The change shipped without a migration step for users.
The build ships Bun v1.4.0 — a preview release that was not yet in Bun's public GitHub releases at the time (the latest public version was v1.3.14 from May 12th). Evidence of the Rust rewrite running in production includes 563 Rust source filenames embedded in the Claude binary.
The measured impact
The reported result was deliberately unremarkable: startup got about 10% faster on Linux, and otherwise barely anyone noticed. As the write-up puts it, “Boring is good.”
Why it matters
Swapping the runtime underneath a tool running on millions of devices, with no user-visible breakage and a modest speed win, is the outcome every infrastructure rewrite hopes for. It is also a real-world datapoint for Rust-based JavaScript tooling reaching production maturity.