Claude Code Now Runs on Rust-Powered Bun Runtime
Key Takeaways
- ▸Claude Code v2.1.181+ uses Rust-rewritten Bun, improving startup performance by 10% on Linux
- ▸Evidence shows Anthropic deployed a preview version of Bun's Rust runtime before its public release
- ▸Bun's Rust rewrite is production-ready and running stably across millions of Claude Code installations worldwide
Summary
Claude Code version 2.1.181 and later now use Bun written entirely in Rust, delivering a 10% startup performance improvement on Linux. The discovery was made by developer tosh through reverse-engineering the Claude Code binary, revealing Anthropic had silently adopted a preview version of Bun's Rust runtime that predates its public release.
Binary analysis uncovered compelling evidence: 563 Rust source files from Bun embedded in Claude Code, along with references to a Bun v1.4.0 (a preview version not yet released publicly). This confirms that Bun's Rust rewrite is running in production across millions of devices worldwide, validating the maturity and stability of the new implementation.
The integration highlights Anthropic's commitment to performance optimization for its developer-facing tools. While the 10% improvement may seem incremental, it demonstrates the type of foundational infrastructure work that enables responsive, professional development experiences. The deployment of Bun's Rust version before its official release suggests strong confidence in the runtime's production readiness.



