Amplifying/ai-benchmarks

bun

All-in-one JavaScript runtime and toolkit

JS/TS
Overall Rank
Not in top 20
20%
Pick Rate
27 of 135 (CI: 14.1–27.5%)
27
Primary Picks
of 135 extractable
50
Alt Picks
also mentioned 8x
Strong Default
Category Tier
56.3% winner dominance

In Package Manager

Full comparison →
pnpm76/135 (56.3%) CI: 47.9–64.4%
npm31/135 (23%) CI: 16.7–30.7%
bun27/135 (20%) CI: 14.1–27.5%
yarn1/135 (0.7%) CI: 0.1–4.1%

By Model

Sonnet 4.5
20%
avg across repos
Opus 4.5
20%
avg across repos
Opus 4.6
20%
avg across repos

Per-Repo Breakdown

RepoStackSonnetOpus 4.5Opus 4.6
TaskFlowJS/TS
Next.js 14, TypeScript, App Router20%20%20%
InvoiceTrackerJS/TS
Vite, React 18, TypeScript20%20%20%

Key Insight

pnpm is the default (56.3%), followed by npm (23%) and bun (20%). yarn is a known alternative (51 alt picks) but is almost never the primary recommendation (0.7%). All four package managers are well-represented in alternative mentions.

Frequently Asked Questions

Does Claude Code recommend bun?
bun appears in 20% of Package Manager responses. The category leader is pnpm at 56.3%.
What package manager tool does Claude Code prefer?
pnpm leads at 56.3%. The category is classified as "Strong Default" (50–75% dominance). Other options include npm (23%) and bun (20%).
How do different Claude models compare on bun?
Across repos, Sonnet 4.5 averages 20%, Opus 4.5 averages 20%, and Opus 4.6 averages 20% for bun.

See Also