# Bun vs Yarn

**Leader by Vioscale score:** Bun

| Attribute | Bun | Yarn |
|---|---|---|
| **Vioscale score** | 74.2 (70% (medium)) | 61.7 (71% (medium)) |
| activity.commits_last_30d | 100 | 18 |
| adoption.dependent_repos | 21,486 | 13,468 |
| adoption.github_stars | 95,712 | 8,100 |
| adoption.package_downloads_weekly | 3,314,443 | 9,559,608 |
| deployment.options | `{"self_hosted":true}` | `{"self_hosted":true}` |
| description.long | Bun is a JavaScript runtime and development toolkit designed as a fast alternative to Node.js with built-in package management, testing, and bundling capabilities. It can be adopted incrementally into existing Node.js projects or used as a complete replacement for development tooling. | Yarn is a package manager that functions as both a package and project manager, supporting everything from simple projects to industry monorepos for open source developers and enterprise users. |
| features.capabilities | `{"role":"manager_client","ecosystem":"js","deployment":"cli_local","workspaces":true,"pricing_model":"free","upstream_proxy":true,"package_formats":"multi","vuln_license_scanning":true,"supply_chain_integrity":true}` | `{"role":"manager_client","ecosystem":"js","deployment":"cli_local","workspaces":true,"open_source":"oss","pricing_model":"free","package_formats":"multi","private_packages":true}` |
| language.primary | Rust | TypeScript |
| license.spdx | MIT | BSD-2-Clause |
| platform.support | `{"cli":true,"mac":true,"linux":true,"windows":true}` | `{"cli":true}` |
| pricing | `{"type":"free","freeTier":true,"sourceUrl":"https://bun.sh","retrievedAt":"2026-08-14T08:38:04.509Z"}` | `{"type":"open_source","freeTier":true,"sourceUrl":"https://yarnpkg.com","retrievedAt":"2026-08-13T18:17:55.345Z"}` |
| pricing.free_tier | yes | yes |
| pricing.model | commercial | commercial |
| pricing.price_level | free | free |
| release.cadence_days | 14 | 15 |
| release.history | `[{"url":"https://github.com/oven-sh/bun/releases/tag/bun-v1.4.0","date":"2026-08-20T14:07:21Z","type":"stable","version":"bun-v1.4.0"},{"url":"https://github.com/oven-sh/bun/releases/tag/bun-v1.3.14","date":"2026-05-13T03:48:28Z","type":"stable","version":"bun-v1.3.14"},{"url":"https://github.com/oven-sh/bun/releases/tag/bun-v1.3.13","date":"2026-04-20T08:07:57Z","type":"stable","version":"bun-v1.3.13"},{"url":"https://github.com/oven-sh/bun/releases/tag/bun-v1.3.12","date":"2026-04-10T03:04:46Z","type":"stable","version":"bun-v1.3.12"},{"url":"https://github.com/oven-sh/bun/releases/tag/bun-v1.3.11","date":"2026-03-18T04:31:40Z","type":"stable","version":"bun-v1.3.11"},{"url":"https://github.com/oven-sh/bun/releases/tag/bun-v1.3.10","date":"2026-02-26T07:08:20Z","type":"stable","version":"bun-v1.3.10"},{"url":"https://github.com/oven-sh/bun/releases/tag/bun-v1.3.9","date":"2026-02-08T09:31:23Z","type":"stable","version":"bun-v1.3.9"},{"url":"https://github.com/oven-sh/bun/releases/tag/bun-v1.3.8","date":"2026-01-29T10:38:16Z","type":"stable","version":"bun-v1.3.8"},{"url":"https://github.com/oven-sh/bun/releases/tag/bun-v1.3.7","date":"2026-01-27T07:04:03Z","type":"stable","version":"bun-v1.3.7"},{"url":"https://github.com/oven-sh/bun/releases/tag/bun-v1.3.6","date":"2026-01-13T02:27:21Z","type":"stable","version":"bun-v1.3.6"},{"url":"https://github.com/oven-sh/bun/releases/tag/bun-v1.3.5","date":"2025-12-17T16:55:41Z","type":"stable","version":"bun-v1.3.5"},{"url":"https://github.com/oven-sh/bun/releases/tag/bun-v1.3.4","date":"2025-12-07T04:53:19Z","type":"stable","version":"bun-v1.3.4"},{"url":"https://github.com/oven-sh/bun/releases/tag/bun-v1.3.3","date":"2025-11-21T19:32:02Z","type":"stable","version":"bun-v1.3.3"},{"url":"https://github.com/oven-sh/bun/releases/tag/bun-v1.3.2","date":"2025-11-08T07:57:10Z","type":"stable","version":"bun-v1.3.2"},{"url":"https://github.com/oven-sh/bun/releases/tag/bun-v1.3.1","date":"2025-10-22T07:53:48Z","type":"stable","version":"bun-v1.3.1"},{"url":"https://github.com/oven-sh/bun/releases/tag/bun-v1.3.0","date":"2025-10-10T20:32:14Z","type":"stable","version":"bun-v1.3.0"},{"url":"https://github.com/oven-sh/bun/releases/tag/bun-v1.2.23","date":"2025-09-28T14:23:34Z","type":"stable","version":"bun-v1.2.23"},{"url":"https://github.com/oven-sh/bun/releases/tag/bun-v1.2.22","date":"2025-09-14T13:01:31Z","type":"stable","version":"bun-v1.2.22"},{"url":"https://github.com/oven-sh/bun/releases/tag/bun-v1.2.21","date":"2025-08-25T11:51:34Z","type":"stable","version":"bun-v1.2.21"},{"url":"https://github.com/oven-sh/bun/releases/tag/bun-v1.2.20","date":"2025-08-10T12:07:43Z","type":"stable","version":"bun-v1.2.20"}]` | `[{"url":"https://github.com/yarnpkg/berry/releases/tag/%40yarnpkg/cli/4.18.0","date":"2026-07-29T07:56:33Z","type":"stable","version":"@yarnpkg/cli/4.18.0"},{"url":"https://github.com/yarnpkg/berry/releases/tag/%40yarnpkg/cli/4.17.1","date":"2026-07-08T16:48:56Z","type":"stable","version":"@yarnpkg/cli/4.17.1"},{"url":"https://github.com/yarnpkg/berry/releases/tag/%40yarnpkg/cli/4.17.0","date":"2026-06-15T08:28:48Z","type":"stable","version":"@yarnpkg/cli/4.17.0"},{"url":"https://github.com/yarnpkg/berry/releases/tag/%40yarnpkg/cli/4.16.0","date":"2026-06-02T07:11:32Z","type":"stable","version":"@yarnpkg/cli/4.16.0"},{"url":"https://github.com/yarnpkg/berry/releases/tag/%40yarnpkg/cli/4.15.0","date":"2026-05-19T22:20:46Z","type":"stable","version":"@yarnpkg/cli/4.15.0"},{"url":"https://github.com/yarnpkg/berry/releases/tag/%40yarnpkg/cli/4.14.1","date":"2026-04-17T06:00:10Z","type":"stable","version":"@yarnpkg/cli/4.14.1"},{"url":"https://github.com/yarnpkg/berry/releases/tag/%40yarnpkg/cli/4.14.0","date":"2026-04-16T15:45:42Z","type":"stable","version":"@yarnpkg/cli/4.14.0"},{"url":"https://github.com/yarnpkg/berry/releases/tag/%40yarnpkg/cli/4.13.0","date":"2026-03-03T02:12:57Z","type":"stable","version":"@yarnpkg/cli/4.13.0"},{"url":"https://github.com/yarnpkg/berry/releases/tag/%40yarnpkg/cli/4.12.0","date":"2025-11-23T11:09:03Z","type":"stable","version":"@yarnpkg/cli/4.12.0"},{"url":"https://github.com/yarnpkg/berry/releases/tag/%40yarnpkg/cli/4.11.0","date":"2025-11-07T13:52:43Z","type":"stable","version":"@yarnpkg/cli/4.11.0"},{"url":"https://github.com/yarnpkg/berry/releases/tag/%40yarnpkg/cli/4.10.3","date":"2025-09-23T09:42:00Z","type":"stable","version":"@yarnpkg/cli/4.10.3"},{"url":"https://github.com/yarnpkg/berry/releases/tag/%40yarnpkg/cli/4.10.2","date":"2025-09-18T17:57:07Z","type":"stable","version":"@yarnpkg/cli/4.10.2"},{"url":"https://github.com/yarnpkg/berry/releases/tag/%40yarnpkg/cli/4.10.1","date":"2025-09-18T12:53:06Z","type":"stable","version":"@yarnpkg/cli/4.10.1"},{"url":"https://github.com/yarnpkg/berry/releases/tag/%40yarnpkg/cli/4.10.0","date":"2025-09-18T09:18:24Z","type":"stable","version":"@yarnpkg/cli/4.10.0"},{"url":"https://github.com/yarnpkg/berry/releases/tag/%40yarnpkg/cli/4.9.4","date":"2025-08-26T07:12:31Z","type":"stable","version":"@yarnpkg/cli/4.9.4"},{"url":"https://github.com/yarnpkg/berry/releases/tag/%40yarnpkg/cli/4.9.3","date":"2025-08-20T12:15:54Z","type":"stable","version":"@yarnpkg/cli/4.9.3"},{"url":"https://github.com/yarnpkg/berry/releases/tag/%40yarnpkg/cli/4.9.2","date":"2025-06-03T20:25:28Z","type":"stable","version":"@yarnpkg/cli/4.9.2"},{"url":"https://github.com/yarnpkg/berry/releases/tag/%40yarnpkg/cli/4.9.1","date":"2025-04-11T09:04:22Z","type":"stable","version":"@yarnpkg/cli/4.9.1"},{"url":"https://github.com/yarnpkg/berry/releases/tag/%40yarnpkg/cli/4.9.0","date":"2025-04-09T14:12:16Z","type":"stable","version":"@yarnpkg/cli/4.9.0"},{"url":"https://github.com/yarnpkg/berry/releases/tag/%40yarnpkg/cli/4.8.1","date":"2025-03-30T08:45:27Z","type":"stable","version":"@yarnpkg/cli/4.8.1"}]` |
| reliability.status_page | - | yes |
| security.scorecard | - | 3.4 |
| security.vulnerabilities | `{"count":2,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=npm&package_name=bun&per_page=100","last_12m":0,"max_severity":"HIGH"}` | `{"count":0,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=npm&package_name=%40yarnpkg%2Fparsers&per_page=100","last_12m":0,"max_severity":null}` |

## Capabilities (Package Registries)

| Capability | Bun | Yarn |
|---|:--:|:--:|
| **Core** |  |  |
| Role | Package manager client | Package manager client |
| **Ecosystem** |  |  |
| Ecosystem / language | JavaScript | JavaScript |
| **Deployment** |  |  |
| Deployment | CLI-local | CLI-local |
| **Formats** |  |  |
| Package formats supported | Many formats | Many formats |
| **Hosting** |  |  |
| Private / scoped packages | - | ✓ |
| Upstream proxy / caching | ✓ | - |
| **Resolution** |  |  |
| Lockfile / deterministic installs | - | - |
| Workspaces / monorepo | ✓ | ✓ |
| Content-addressable store | - | - |
| **Supply chain** |  |  |
| Supply-chain integrity | ✓ | - |
| Vulnerability / licence scanning | ✓ | - |
| **Licensing** |  |  |
| Openness | - | Open-source |
| **Pricing** |  |  |
| Pricing model | Free / OSS | Free / OSS |

*Source: Vioscale. Generated 2026-09-01T17:23:56.611Z. "-" = undocumented, not absent.*
