Bun
A fast all-in-one JavaScript runtime, bundler, test runner, and package manager.
Bun is a fast all-in-one JavaScript runtime, bundler, test runner, and package manager. The runtime is built on JavaScriptCore (Safari's JS engine) rather than V8, which contributes to its speed advantage on some workloads. The toolchain — bun install, bun run, bun test, bun build — is typically several times faster than the equivalent Node.js + npm + esbuild combination.
Jarred Sumner started Bun at his company Oven in 2022. The 1.0 release in 2023 was a milestone; subsequent releases have focused on Node.js API compatibility, since most existing Node.js code needs to run on Bun unchanged for it to be a practical Node.js replacement.
Bun has captured significant mindshare among JavaScript developers tired of the npm + Node + Webpack toolchain's slow defaults. It is also widely used as a command-line script runtime — "bun foo.ts" runs TypeScript scripts directly without a separate compile step. Production adoption is growing but still trails Node.js by a wide margin.
Install
curl -fsSL https://bun.sh/install | bash Or: macOS: brew install bun
Authors
- Jarred Sumner (creator)
- Oven