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.
By Dillip Chowdary • Jul 19, 2026 • Source: simonwillison.net
At a glance
- Product
- Claude Code
- Version
- v2.1.181
- Released
- June 17, 2026
- Runtime change
- JavaScript Bun swapped for Rust rewrite
- Migration
- No migration step for users
In this post
Claude Code v2.1.181 quietly swapped its JavaScript Bun runtime for the Rust rewrite — and almost nobody noticed, which is the point.
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.
01What shipped
A versioned cut is a contract with anyone who pinned the last one. Claude Code uses Bun written in Rust now should be read as a changelog first and a launch second. If you cannot find the changelog, you do not have enough to upgrade.
Claude Code v2.1.181 quietly swapped its JavaScript Bun runtime for the Rust rewrite — and almost nobody noticed, which is the point. Claude Code v2.1.181, released on June 17th, 2026, switched from the original JavaScript implementation of Bun to Bun rewritten in Rust.
02What changed for builders
Builders should diff the release notes for APIs, defaults, and removed flags. That list is the migration. Anything not on it is a rumor until it shows up in a follow-up patch.
A versioned cut is a contract with anyone who pinned the last one. Claude Code uses Bun written in Rust now should be read as a changelog first and a launch second.
03How to install or upgrade
Install via the vendor's documented channel. Snapshot config, roll through staging, keep a one-command rollback.
Time-box the canary. If the release has no documented rollback, that is the first risk you escalate.
Advertisement
Tech Pulse Daily
Get tomorrow's pulse first
Join engineers who read Tech Pulse before stand-up. Free, weekday mornings.
If you cannot find the changelog, you do not have enough to upgrade. Builders should diff the release notes for APIs, defaults, and removed flags.
04Gotchas and compatibility
Gotchas hide in transitive deps, license files, and anything that touches auth or storage. Read those sections twice. Then grep your own repo for the old flag names so you are not surprised in prod.
Anything not on it is a rumor until it shows up in a follow-up patch. Snapshot config, roll through staging, keep a one-command rollback.
05What to watch next
Watch the first patch release. If it arrives inside a week, the original cut was not as boring as the announcement implied. Pin to the patch, not the day-zero tag, unless you have a reason.
If the release has no documented rollback, that is the first risk you escalate. Gotchas hide in transitive deps, license files, and anything that touches auth or storage.
A 3–5 minute news post is a briefing, not a runbook. Keep simonwillison.net and the vendor's primary page in another tab, quote only what they printed, and write down the single decision this story forces (upgrade, wait, or ignore) before you Slack it to the rest of the team. If you need more than that decision, you want the primary docs or a later engineering deep-dive — not another recap of Claude Code uses Bun written in Rust now.
If you cannot name the surface — API, policy, model, hardware, or commercial terms — you are not ready to brief. Go back to simonwillison.net and the vendor page until you can. That extra ten minutes is cheaper than a wrong upgrade or a missed exposure.
If you cannot name the surface — API, policy, model, hardware, or commercial terms — you are not ready to brief. Go back to simonwillison.net and the vendor page until you can. That extra ten minutes is cheaper than a wrong upgrade or a missed exposure.
Treat day-one coverage of Claude Code uses Bun written in Rust now as a pointer, not a specification. simonwillison.net is useful for names, dates, and the claim as stated; it is not a substitute for the changelog, the advisory, or the contract clause that actually binds you. If those artifacts are not public yet, wait. Acting on a paraphrase is how teams ship the wrong flag or miss the one dependency that was actually in scope.
If Claude Code uses Bun written in Rust now touches something you operate, open a ticket with the primary link, the owner, and the verification step — not a Slack emoji reaction. If it does not touch you, write that down too so the next person does not re-open the question.
Either way, the artifact is the point. Recaps of recaps of simonwillison.net do not help the on-call.
Advertisement