Amplifying/ai-benchmarks

yarn

JavaScript package manager by Meta

Overall Rank
Not in top 20
0.7%
Pick Rate
1 of 135 (CI: 0.1–4.1%)
1
Primary Picks
of 135 extractable
51
Alt Picks
also mentioned 27x
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
0%
avg across repos
Opus 4.5
0%
avg across repos
Opus 4.6
0%
avg across repos

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 yarn?
yarn appears in 0.7% 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 yarn?
Across repos, Sonnet 4.5 averages 0%, Opus 4.5 averages 0%, and Opus 4.6 averages 0% for yarn.

See Also