Home/Web/Bun
B
License:MIT
Open source Self-hostable

Bun

About

An all-in-one JavaScript runtime and toolkit — bundler, test runner, package manager and TypeScript support in one fast binary. Drop-in Node.js replacement written in Zig.

Pricing

Free

Bun is a JavaScript runtime and toolkit that replaces Node.js, npm, webpack and Jest with a single binary. Its native implementations make installs and cold starts dramatically faster.

Key Features

  • Node.js-compatible runtime with ESM and TS support.
  • bun install: npm-compatible package manager, up to 30x faster.
  • bun test: Jest-compatible test runner.
  • bun build: fast bundler for client and server.
  • Native APIs for files, SQLite and HTTP.
  • Zig core for predictable performance.

Pricing

Bun is free and open source under the MIT license.

Getting Started

curl -fsSL https://bun.sh/install | bash
bun create vite my-app
bun install
bun run dev

Bun works as a drop-in for most npm and node workflows.