Key Takeaways
- Claude Code v2.1.181 embeds Bun v1.4.0 in Rust for 10% faster Linux startup.
- Verify with
stringsorBUN_OPTIONStrick.
What Changed — Bun Rewritten in Rust Ships in Claude Code

On June 17th, 2026, Claude Code v2.1.181 rolled out with a silent but significant upgrade: the embedded Bun runtime was rewritten from Zig to Rust. Jarred Sumner, Bun's creator, confirmed the change in a blog post titled "Rewriting Bun in Rust," noting that "Claude Code v2.1.181 (released June 17th) and later use the Rust port of Bun. Startup got 10% faster on Linux but otherwise, barely anyone noticed. Boring is good."
The Rust port is based on Bun v1.4.0, which is currently only available as a canary release. You can verify your own Claude Code installation by running:
strings ~/.local/bin/claude | grep -m1 'Bun v1'
This outputs Bun v1.4.0 (macOS arm64) on my machine. The presence of 563 .rs files in the binary (found via strings ~/.local/bin/claude | grep -Eo 'src/[[:alnum:]_./-]+\.rs') confirms the Rust codebase is embedded directly.
What It Means For You — Zero Breaking Changes, Tangible Performance
This is a textbook example of a boring infrastructure upgrade done right. Claude Code users should expect:
- 10% faster startup on Linux: If you use Claude Code in CI/CD pipelines or frequently restart sessions, this shaves off meaningful time.
- Identical behavior: Jarred emphasized "barely anyone noticed" — all existing workflows, MCP servers, and CLAUDE.md configurations continue to work without modification.
- Future-proofing: Rust's memory safety guarantees reduce the risk of runtime crashes, especially under heavy agentic workloads.
For macOS and Windows users, the startup improvement may be less dramatic, but the reliability gains apply universally.
Try It Now — Verify Your Version and Benchmark Startup

1. Verify You're on the Rust Build
Run:
strings ~/.local/bin/claude | grep -m1 'Bun v1'
If you see Bun v1.4.0 or later, you're on the Rust port. If it's older (e.g., v1.3.14), update Claude Code via:
npm update -g @anthropic-ai/claude-code
2. Check the Exact Bun Version Embedded
Ajan Raj shared a neat trick to extract the embedded Bun version programmatically:
cat > /tmp/bun-version.ts <<'EOF'
console.log("embedded bun:", Bun.version);
process.exit(0);
EOF
BUN_OPTIONS="--preload=/tmp/bun-version.ts" claude --version
This outputs 1.4.0 for me, confirming the Rust-based canary build.
3. Benchmark Your Startup Time
Compare startup times before and after (if you have an older version available):
time claude --version
On Linux, expect ~10% faster execution. On macOS, the difference may be negligible, but you're still running a more stable runtime.
Why This Matters for Your Workflow
This change aligns with Claude Code's broader evolution from a coding assistant to an agent runtime. As noted in our recent coverage, Claude Code now supports hooks, MCP, and memory for DevOps safety (July 12th). A faster, more reliable runtime reduces friction in automated pipelines and long-running agent sessions.
The Rust rewrite also means fewer edge-case crashes during complex operations like cross-file refactors or multi-step MCP server interactions. If you've ever hit a cryptic Bun runtime error during a Claude Code session, this upgrade likely addresses the root cause.
The Takeaway
Claude Code v2.1.181's Rust-based Bun runtime is a win for reliability and Linux startup performance. Verify your version, enjoy the speed bump, and rest easy knowing your agentic workflows run on a memory-safe foundation.
Source: simonwillison.net
[Updated 23 Jul via gn_claude_code]
The token-diet trend has exploded: caveman (374,542 installs) compresses agent output by ~75% without losing technical detail, while ponytail (19,421 installs, search interest up 750%) forces the simplest solution through a seven-rung decision ladder. stop-slop (7,969 installs) rewrites recognizable AI prose patterns. All three rank among the week's top risers on Skillselion's trending rail, signaling that developers now prioritize brevity over capability [per Augment Code].








