# Bun (package manager): 7.5 out of 10

A strong pick. 4th of 10 in [Package managers and monorepo tools](https://elestia.ai/opensource/package-tools/index.md).

Bun's package manager (`bun install`, workspaces, catalogs, `bun.lock`) is the fastest npm-compatible installer. It is backed by Anthropic and growing fast, and it works well for single apps and small-to-medium workspaces. For large monorepos, pnpm is still the more proven choice. Bun has no task-graph caching of its own, and its core was recently machine-ported from Zig to Rust, which adds some risk.

**Best for:** Teams that want the fastest installs and one binary for running, testing and installing, in apps or modest workspaces.

## Scores

- **Overall: 7.5** (likely 6.5 to 8.5)
  - Claude Opus 5.5 (7.0): It is a strong pick for speed and for teams already on the Bun runtime. Funding is solid and adoption is growing fast. It ranks below pnpm as the default for monorepos, because pnpm is more proven in large workspaces and Bun lacks task caching. The recent AI-driven Rust rewrite adds uncertainty.
  - GPT-6.2 Sol (8.0): Bun is a strong choice for new apps and workspaces that value fast installs, and its active maintenance makes it a credible long-term pick. pnpm remains the better default for complex workspaces because it pairs competitive speed with stricter install defaults. The range reflects how much a team depends on publishing provenance, shared build caches, or cross-platform CI.
- **Needed by many: 7.8** (likely 6.8 to 8.8)
  - Claude Opus 5.5 (7.0): Every JS/TS project needs a package manager, and Bun's installer also works for projects that run on Node. It covers less of the monorepo half of the category, because it has no task-graph caching or release tooling. Its pull is also strongest for teams that use the Bun runtime.
  - GPT-6.2 Sol (8.6): Most JavaScript and TypeScript projects need dependency installs, and Bun works with standard package.json projects even when production runs on Node.js. It serves single apps and workspaces across macOS, Linux, and Windows. The range reflects how much teams value faster installs when their existing setup already works.
- **Helps a lot: 7.6** (likely 6.5 to 8.6)
  - Claude Opus 5.5 (7.0): It has very fast installs, a text lockfile, catalogs, filtering, isolated installs and safe defaults for install scripts. For monorepos it lacks task caching. Compatibility with complex pnpm or npm setups is less proven, and the 1.4 Rust port brought a new lockfile version and some regressions. pnpm does the core job in large repositories more reliably.
  - GPT-6.2 Sol (8.2): Bun 1.4.5 offers fast installs, isolated workspaces, dependency-ordered scripts, and recursive publishing. The CLI docs cover common workflows, and frozen installs name the dependency that changed. Publishing still lacks provenance, and tools such as Turborepo handle shared build caching. Complex migrations and coding-agent reliability have less direct test evidence, which keeps the range wide.
- **Holds up over time: 7.6** (likely 6.2 to 8.8)
  - Claude Opus 5.5 (7.0): Anthropic acquired Bun and pays a full-time team, and activity is very high, with 4,719 commits and 18 releases in a year. Risks: a million-line machine-ported codebase whose long-term maintainability is unproven, a large issue and PR backlog, and the project's priorities being tied to Claude Code.
  - GPT-6.2 Sol (8.1): Anthropic funds the team, and Bun shipped 18 releases in the past year, including recent install fixes and a security patch. Bun 1.4 moved the codebase from Zig to Rust, and subsequent release notes document fixes for regressions. The large issue backlog and limited visibility into release permissions leave room for uncertainty.
- **Used widely: 6.9** (likely 5.6 to 8.1)
  - Claude Opus 5.5 (7.0): npm downloads grew about 10.8x year over year, against a median of 4.1. Most people install Bun without npm, so the real use is higher. Its 21,486 dependent repos match Nx's count, though many of them use Bun as a runtime rather than only as a package manager. State of JS 2025 shows about a thousand respondents using Bun's package manager, well behind pnpm.
  - GPT-6.2 Sol (6.7): Tracked npm downloads grew 10.8-fold year over year, ahead of pnpm’s 9.4-fold growth and the catalog median of 4.1-fold. The 2025 State of JavaScript survey counted 1,123 regular monorepo users of bun install and 3,940 of pnpm. Installs outside npm leave some usage uncounted, while CI installs, runtime use, and attention to the whole repository make the number of projects choosing the package manager hard to pin down.
- **Vouched for: 6.9** (likely 5.5 to 8.2)
  - Claude Opus 5.5 (6.0): Anthropic runs Claude Code on Bun and now owns it. State of JS lists Bun's package manager with a solid user base. Most speed benchmarks come from Bun itself, and I found few independent large-monorepo write-ups. Some respected developers have publicly questioned the AI rewrite.
  - GPT-6.2 Sol (7.7): Vercel and Expo support Bun installs in their build services, and OpenCode and Intlayer pin Bun in their workspaces. Independent testing confirms the speed advantage in many common installs, while Freebuff documents a substantial Windows CI slowdown when the cache sits on another drive. The range reflects limited evidence on long-term satisfaction and reliability across large teams.
- **Safe: 7.0** (likely 5.6 to 8.3)
  - Claude Opus 5.5 (6.5): It is a single binary with zero npm dependencies, an MIT licence, and dependency install scripts blocked by default. There are two advisories in 24 months, one of them a high-severity command injection. There is no Scorecard, and a million lines of lightly reviewed machine-ported code is a new attack surface, although Bun reports security review and fuzzing.
  - GPT-6.2 Sol (7.4): The MIT-licensed npm package lists zero regular dependencies, and the installer blocks dependency scripts outside its allowlists by default. Version 1.4.5 patched a high-severity flaw in a bundled native library, and GitHub withdrew the older command-injection advisory. GitHub Actions signs release assets and disables npm provenance for the CLI package. Bundled native code, missing OpenSSF Scorecard data, and unclear release access keep the range wide.

## Good

- Installs are much faster than npm and Yarn, and usually faster than pnpm, with a reviewable text `bun.lock`.
- It reads standard package.json workspaces and supports `--filter`, catalogs and isolated installs, so migrating from npm or pnpm is easy.
- Dependency lifecycle scripts do not run by default (trustedDependencies), which cuts install-time supply-chain risk.
- Anthropic funds full-time development, and there were 18 releases and about 4,700 commits in the last year.

## Bad

- It has no task-graph caching or affected-package detection, so large monorepos still need Turborepo or Nx on top.
- The core was ported from Zig to Rust by AI in 2026 and shipped as 1.4 after a short review, and some users left over trust concerns.
- There are about 3,600 open issues and 3,500 open PRs, and npm/pnpm compatibility edge cases still show up.
- It has no OpenSSF Scorecard, and the repository metadata lists no licence.

## The numbers

- Downloads, 4 weeks: 24M
- In a year: ×11
- GitHub stars: 97k
- Commits, 12 months: 4.7k
- Last npm release: Nov 2026
- Advisories, 24 months: 2
- Licence: MIT
- GitHub: https://github.com/oven-sh/bun
- npm: https://www.npmjs.com/package/bun

Bun is also a JavaScript runtime, and most people install it without npm, so the downloads count too few.

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 21 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
