compare
Bun vs Yarn
The same facts for both, read from GitHub every night, and the relation a person reviewed.
| Fact | Bun | Yarn |
|---|---|---|
| Language | Rust | TypeScript |
| Licence | Other | BSD-2-Clause |
| Stars | 96k | 8.1k |
| Latest | bun-v1.4.2 | @yarnpkg/cli/4.18.1 |
| Last push | 2026-10-06 | 2026-09-28 |
| Release cadence | about 19 days between releases | about 22 days between releases |
| Active contributors | 8+ commit authors on the default branch in the last 90 days | 14 commit authors on the default branch in the last 90 days |
| Flags | none | none |
How they relate
Both replace npm. Alternatives to npm →
Full replacementBunbun install reads package.json and writes its own lockfile.
Full replacementYarnSame package.json, with Plug'n'Play as an option instead of node_modules.
Bun
- bun-v1.4.22026-09-05Bun v1.4.2
- bun-v1.4.12026-09-04Bun v1.4.1
- bun-v1.4.02026-08-20Bun v1.4
- bun-v1.3.142026-05-13Bun v1.3.14
- bun-v1.3.132026-04-20Bun v1.3.13
Yarn
- @yarnpkg/cli/4.18.12026-09-24v4.18.1
- @yarnpkg/cli/4.18.02026-07-29v4.18.0
- @yarnpkg/cli/4.17.12026-07-08v4.17.1
- @yarnpkg/cli/4.17.02026-06-15v4.17.0
- @yarnpkg/cli/4.16.02026-06-02v4.16.0
Bun
unsigned The latest release, bun-v1.4.2, carries no signature GitHub could verify.
Loading the security report
Yarn
unsigned The latest release, @yarnpkg/cli/4.18.1, carries no signature GitHub could verify.
Loading the security report