# bun

> Bun is a fast all-in-one JavaScript runtime.

Latest version **1.4.2** (published 2026-09-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install bun
pnpm add bun
yarn add bun
bun add bun
```

Provides the commands `bun`, `bunx`.

## Health

**Score 68/100 (B)** — status: active.

Positive: has types package; no vulnerabilities; recently updated; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 1.4.2 |
| Published | 2026-09-05 |
| First published | 2013-03-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | separate (@types/bun) |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 19.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| GitHub stars | 95992 |
| Maintainers | jarred, robobun |
| Keywords | bun, bun.js, node, node.js, runtime, bundler, transpiler, typescript |

## Links

- npm: https://www.npmjs.com/package/bun
- Repository: https://github.com/oven-sh/bun
- Homepage: https://bun.com
- Issues: https://github.com/oven-sh/issues
- npm.io page: https://npm.io/package/bun

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 1.4.2 (latest) — 2026-09-05
- 1.4.2-canary.20260919.1 (canary) — 2026-09-19
- 1.4.2-canary.20260918.1 — 2026-09-18
- 1.4.2-canary.20260917.1 — 2026-09-17
- 1.4.2-canary.20260916.1 — 2026-09-16
- 1.4.2-canary.20260915.1 — 2026-09-15
- 1.4.2-canary.20260914.1 — 2026-09-14
- 1.4.2-canary.20260913.1 — 2026-09-13
- 1.4.2-canary.20260912.1 — 2026-09-12
- 1.4.2-canary.20260911.1 — 2026-09-11
- 1.4.2-canary.20260910.1 — 2026-09-10
- 1.4.2-canary.20260909.1 — 2026-09-09
- 1.4.2-canary.20260906.1 — 2026-09-06
- 1.4.2-canary.20260905.1 — 2026-09-05
- 1.4.1-canary.20260904.1 — 2026-09-04
- … 1316 more at https://npm.io/package/bun/versions

## README

# Bun

Bun is a fast all-in-one JavaScript runtime. https://bun.com

### Install

```sh
npm install -g bun
```

### Upgrade

```sh
bun upgrade
```

### Supported Platforms

- [macOS, arm64 (Apple Silicon)](https://www.npmjs.com/package/@oven/bun-darwin-aarch64)
- [macOS, x64](https://www.npmjs.com/package/@oven/bun-darwin-x64)
- [Linux, arm64](https://www.npmjs.com/package/@oven/bun-linux-aarch64)
- [Linux, x64](https://www.npmjs.com/package/@oven/bun-linux-x64)
- [Windows, x64](https://www.npmjs.com/package/@oven/bun-windows-x64)
- [Windows, arm64](https://www.npmjs.com/package/@oven/bun-windows-aarch64)

The x64 binary targets Nehalem (SSE4.2) and dispatches AVX2/AVX-512 at runtime. The `@oven/bun-*-x64-baseline` packages are published as aliases of the same binary for backward compatibility.

### Future Platforms

- Unix-like variants such as FreeBSD, OpenBSD, etc.
- Android and iOS

---
_Source: https://npm.io/package/bun · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
