Use Bun as a JavaScript runtime, bundler, test runner, and package manager.

github.com/oven-sh/bun
Bun homepage screenshot

About Bun

Bun is an all-in-one toolkit for JavaScript and TypeScript apps. It ships as a single executable called bun. Its core is a JavaScript runtime that the source describes as a drop-in replacement for Node.js, written in Rust and powered by JavaScriptCore. The bun command-line tool also includes a test runner, a script runner, and a Node.js-compatible package manager. The source states that Bun can be used in existing Node.js projects with little to no changes.

Bun supports Linux (x64 and arm64), macOS (x64 and Apple Silicon), and Windows (x64 and arm64). The source recommends Linux kernel 5.6 or higher, with 5.1 as the minimum. It also notes that x64 users who see "illegal instruction" errors should check the CPU requirements.

Key features

  • JavaScript runtime designed as a drop-in replacement for Node.js
  • Runs TypeScript and JSX files out of the box
  • Built-in test runner started with the bun test command
  • Script runner that runs scripts defined in package.json
  • Node.js-compatible package manager for installing packages
  • Runs packages directly with bunx
Best for: Developers who want one toolchain for running, testing, and installing packages in JavaScript and TypeScript projects, including existing Node.js projects.
Good for
  • The source states that it reduces startup times and memory usage.
  • The source states that its built-in tools are significantly faster than existing options.
  • The source states it can be used in existing Node.js projects with little to no changes.
Watch out for
  • The source recommends Linux kernel 5.6 or higher, with 5.1 as the minimum.
  • On x64 systems, "illegal instruction" or similar errors may occur, and the source directs users to its CPU requirements.

Bun at a glance

Type
Open-source project
Pricing
Not confirmed. Check the site
Open source
Not stated
Language
English
Last checked
Oct 6, 2026 · Online when checked
Listed
Oct 5, 2026

Bun alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 24 alternatives

Popular in Programming Languages

Well-known listings from the same topic.

All 66

Bun FAQ

Which operating systems and architectures does Bun support?
Bun supports Linux (x64 and arm64), macOS (x64 and Apple Silicon), and Windows (x64 and arm64).
How can Bun be installed?
The source lists an install script for macOS and Linux, a PowerShell command for Windows, npm (npm install -g bun), Homebrew (brew tap oven-sh/bun, then brew install bun), and Docker (docker pull oven/bun).
How is Bun upgraded?
Run bun upgrade to get the latest version. The source also says Bun releases a canary build on every commit to main, which can be installed with bun upgrade --canary.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing