# Bun

> A fast tool that runs JavaScript. It also installs packages, bundles code and runs tests.

**Field:** Software Development  
**Category:** Compilers & Runtimes  
**Also known as:** Bun Runtime, Bun.js

## Think of it like

Think of it like a pocket knife. One tool has a blade, scissors and more.

## Definition

Bun is a fast program that runs JavaScript and TypeScript. It is built to take the place of Node.js with no changes. It also does the jobs of several other tools: it installs packages, bundles code and runs tests. It is built for speed, so installs and start-up are much quicker. Most Node.js code and packages run on it unchanged. It reached version 1.0 in 2023.

## Example

Bun was created by Jarred Sumner. Jack swaps it in for his project, and installing packages drops from 30 seconds to 4.

## Why it matters

One fast tool can replace four. That means less setup and quicker work.

## Common mistake

Thinking each Node.js package will work. Test the whole app before you switch a live server.

## Three principles

- **Swap for Node.js.** Most code runs unchanged.
- **Many tools in one.** Install, bundle, test.
- **Built for speed.** Quick installs and start-up.

## Related terms

- [Node.js](https://learn.benibix.com/term/development/nodejs)
- [Deno](https://learn.benibix.com/term/development/deno)
- [npm](https://learn.benibix.com/term/development/npm)
- [JavaScript Bundler](https://learn.benibix.com/term/development/bundler)

---

Source: https://learn.benibix.com/term/development/bun
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
