Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
open sourceMITself-hostablefree
Bun is an all-in-one JavaScript and TypeScript toolkit shipped as a single executable: a Node.js-compatible runtime powered by JavaScriptCore, plus a test runner, script runner, bundler and Node-compatible package manager. Its README says the runtime is now written in Rust. Bun joined Anthropic in December 2025 and stays MIT-licensed.
Ways to install
Package managers
Problems it solves
- npm install takes forever in CI
- running TypeScript needs ts-node, a build step and a lot of config
- my test suite in Jest is slow to start
- one tool instead of node, npm, jest, a bundler and ts-node
- node startup time makes my CLI feel sluggish
- bundle a TypeScript app without configuring webpack
- install packages much faster than npm or yarn
- run package.json scripts faster
Features
- Node.js-compatible runtime
- built-in TypeScript/JSX
- package manager
- test runner
- bundler
- bunx
Capabilities
| Has a command line tool | plan not known |
|---|
Alternatives
The same job
These do what Bun does.
