Claude Code v2.1.181 Switches to Rust‑Based Bun, Boosting Startup Speed by 10%
Claude Code v2.1.181 now runs Bun compiled in Rust, delivering a 10% faster startup on Linux and previewing Bun v1.4.0 ahead of release.

Claude Code v2.1.181, released on June 17, now runs Bun compiled in Rust. The Rust port was first mentioned by Jarred Sumner, who reported a 10 % faster startup on Linux. A local inspection shows Claude reporting Bun v1.4.0 even though the latest public Bun release is v1.3.14. This shift signals that a preview of the next Bun version is already in production across many devices.
What happened
Claude Code v2.1.181 and later versions were updated to use the Rust port of Bun. Jarred Sumner noted a 10 % reduction in startup time on Linux, though most users did not notice any other changes.
Running claude-code --version on a macOS arm64 machine reports Bun v1.4.0, a version that does not exist in the official GitHub releases, whose latest tag is v1.3.14 from May 12. The Rust build can be installed via bun upgrade --canary, confirming it is a canary release.
The installation lists 563 filenames, indicating a full production deployment across millions of devices.
Why it matters
A 10 % startup improvement can reduce latency for interactive AI workflows, especially in serverless or containerized environments where cold starts dominate. The Rust implementation also brings memory safety and potentially lower binary size, aligning with the broader trend of rewriting performance‑critical tools in Rust. However, the canary status means the runtime may still have bugs, and developers need to weigh early‑access benefits against stability.
- 10 % faster startup on Linux reduces latency.
- Rust’s safety guarantees lower crash risk.
- Access to Bun v1.4.0 features before official release.
- Canary build may contain undiscovered bugs.
- Limited documentation for the Rust port.
- Potential incompatibility with existing Bun plugins.
How to think about it
Test the Rust Bun in a staging environment before promoting to production. Use bun upgrade --canary to obtain the latest Rust build, then benchmark startup times against the stable version. If the performance gain outweighs any stability concerns, consider pinning the canary version in your deployment scripts. Keep an eye on the official Bun release notes for migration guidance.
FAQ
Will the Rust Bun affect Claude Code’s token usage?+
How can I confirm I am running the Rust version of Bun?+
bun --version; a version number higher than the latest stable release (e.g., v1.4.0) indicates the Rust canary is active.What steps are required to upgrade and what risks should I monitor?+
bun upgrade --canary, then run your test suite and monitor startup latency and error logs for regressions.- engineering·3 min readZig Creator Slams Anthropic’s Rust Rewrite of Bun, Warns AI Hype Threatens Software Engineering Decisions
Andrew Kelley critiques Anthropic’s Rust port of Bun, arguing AI hype fuels risky language switches and clouded engineering choices.
- engineering·3 min readClaude Code incurs 33k token overhead per request versus OpenCode’s 7k: cost and cache implications
Claude Code adds ~33,000 tokens before reading a prompt, while OpenCode adds ~7,000. We explain why this matters for cost, latency, and caching.
- engineering·3 min readBun Adds Shared-Memory Threads to JavaScriptCore
Bun open PR for shared-memory threads in JavaScriptCore
The week’s highest-signal tech and AI stories, synthesized into a five-minute read. One email a week, no spam, unsubscribe anytime.