bun logo

bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one

discordv1
Website GitHub

What is it?

What it is

Bun is an all-in-one toolkit for JavaScript and TypeScript apps. It ships as a single executable called `bun`.

Why it exists

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one

Who should use it

Teams building with Rust who want an open-source, self-hosted option.

Who should avoid it

Teams that need a fully managed SaaS with enterprise SLAs out of the box.

How it works

A quick walkthrough in plain English

How bun works

Step 1 of 3

You interact with it

Open bun, send a request, or connect it to your stack.

Features

Bun
Bundler
Javascript
Javascriptcore
Jsx
Nodejs

Advantages

  • Open source (NOASSERTION)
  • Active Rust ecosystem
  • Self-hosted deployment options

Disadvantages

  • Requires operational ownership for self-hosted setups
  • Community support varies by project maturity

Installation

docker

# with install script (recommended)
curl -fsSL https://bun.com/install | bash

# on windows
powershell -c "irm bun.sh/install.ps1 | iex"

# with npm
npm install -g bun

# with Homebrew
brew tap oven-sh/bun
brew install bun

# with Docker
docker pull oven/bun
docker run --rm --init --ulimit memlock=-1:-1 oven/bun

FAQ

What is bun?

bun is an open-source project licensed under NOASSERTION.

What language is bun built with?

Primary language: Rust.

Is it free to use?

Yes. Licensed under NOASSERTION. Check the license for commercial use.

Can I run it with Docker?

Yes. Docker install instructions are in the Installation section.

Loading documentation…
View on GitHub

Featured in Videos

YouTube tutorials and walkthroughs for bun

Alternatives

Similar projects ranked by category, topics, and text overlap.

Compare
bun | MushyBook