Tools

Anthropic's Claude Code switches to a Rust implementation of Bun, improving Linux startup time

Developer Jarred Sumner reported that Claude Code v2.1.181 (released June 17) and later use a Rust port of the Bun runtime, yielding roughly a 10% faster startup on Linux.

Anthropic's Claude Code switches to a Rust implementation of Bun, improving Linux startup time

Developer reports indicate that Anthropic's Claude Code tool has started using a Rust port of the Bun runtime. Jarred Sumner claimed that Claude Code v2.1.181 (released June 17) and later use the Rust port of Bun, and that startup was about 10% faster on Linux.

Inspecting a local installation

A user examined their own Claude Code installation and found two commands they considered convincing evidence:

  • strings ~/.local/bin/claude | grep -m1 'Bun v1'

    On that system the output was:

    Bun v1.4.0 (macOS arm64)

    Note that the most recent Bun release on GitHub is currently v1.3.14 (released May 12), so the v1.4.0 version string in Claude suggests Anthropic may be shipping a preview of a not-yet-released Bun version.

  • strings ~/.local/bin/claude | grep -Eo 'src/[[:alnum:]_./-]+.rs'

    This command produced a list of 563 filenames with .rs extensions, beginning with entries such as:

    • src/runtime/bake/dev_server/mod.rs
    • src/runtime/bake/production.rs
    • src/bundler/bundle_v2.rs

Practical implications

These findings are consistent with Jarred Sumner's claim that a Rust implementation of Bun is being used by Claude Code. The observed v1.4.0 string and the presence of hundreds of Rust source filenames indicate Anthropic may be shipping a Rust-based Bun preview into production across many installations. As Sumner put it, “Boring is good,” implying that a steady, pragmatic approach can be preferable.

Clarifications and limits

The observations reported here are based on textual traces found inside a local Claude binary; the article does not include an official statement from Anthropic nor does it reveal internal implementation details of the Rust port. The roughly 10% Linux startup improvement is the figure reported by Jarred Sumner; no independent benchmarks are provided in this report.

Summary

Based on Jarred Sumner's report and the local checks described, Claude Code v2.1.181 (June 17) and newer versions likely run a Rust-written Bun runtime, producing a modest startup-speed improvement on Linux. The presence of a v1.4.0 version string suggests Anthropic may be deploying a preview Bun release to its users.