Tools/oven-sh/bun

Bun

Fast JS runtime, bundler, test runner, and package manager

96.6k ★+127/wkestablishedRustMIT License →trending

The Lens

By Erik Loyd, SaaS CEO and former COO/CFO of an AWS Premier Partner.

Updated Oct 2026

Bun is a JavaScript and TypeScript toolkit in one binary: a runtime built as a drop-in replacement for Node.js, plus a package manager, test runner and bundler, and now a formatter (bun fmt) and type checker (bun check). It's free and MIT-licensed. Since December 2025 it's owned by Anthropic, which ships Claude Code on it.

Install is one curl command, and you can adopt it piece by piece: run bun install or bun test inside an existing Node project without switching runtimes. Bun 1.4 (August 2026) rewrote the whole thing from Zig to Rust and added more than 1,500 tests from Node's own suite. New releases land every few weeks, and there's nothing to host.

Solo through large teams: free. There's no paid tier and no Bun cloud. The cost is migration time, not money.

The catch: compatibility is close, not complete. Bun's own numbers show node:http, node:fs and node:stream passing 97% of Node's tests, so test your app before moving production. The October 1.4.4 release patched three high-severity bugs, including a brotli out-of-bounds write. And one AI company now steers your runtime. Bun promises it stays MIT; Node and Deno are your hedge.

Free vs Self-Hosted vs Paid

fully free

Free: Everything: runtime, package manager, test runner, bundler, formatter (bun fmt) and TypeScript type checker (bun check). Bun itself is MIT-licensed; it statically links JavaScriptCore and WebKit code under LGPL-2, and the LICENSE file gives relinking instructions.

Self-hosted: Nothing to host. A single binary for Linux, macOS and Windows (x64 and arm64), installed with curl -fsSL https://bun.com/install | bash or npm. Linux kernel 5.6 or higher is recommended.

Paid: None. No paid tier and no hosting product. Bun has been owned by Anthropic since December 2025, which funds development because Claude Code ships as a Bun executable.

Free with no paid tier and nothing to upsell. Anthropic pays for development because Claude Code depends on Bun, so the question to weigh is ownership, not price.

What to do by team size

Solo
free; start a new project on it or just use bun install for speed
Small team
free; adopt bun install and bun test first, the runtime later
Medium team
free; run your test suite on Bun before moving production off Node
Large team
free; pilot service by service and keep Node as the fallback
Self-hosting ops:trivial

Get tools like this every Wednesday

One featured tool, three on the radar. No fluff.

Similar Tools

Score
89/100 · A
Adoption30/30
Maintenance25/25
Community9/20
License15/15
Analysis10/10

A low score is not a verdict on quality. Young and niche tools start low by design. How we calculate scores

Trust Signals

High adoption: 89,143 starsActive community: 4,332 forks

License: MIT License

Bun's own code is MIT; it statically links JavaScriptCore under LGPL-2. GitHub shows 'Other'.

Commercial use: ✓ Yes

About

Stars
96,582
Forks
5,261

Explore Further

More tools in the directory

Featured in The Open Source Drop #10