Run a TypeScript or JSX file directly with bun run index.tsx
Use bun install as a faster npm replacement for an existing project
Run a project's tests with bun test instead of Jest or Vitest
Try a package once with bunx without installing it globally
Linux needs kernel 5.1 or newer, and x64 chips without modern SIMD may hit illegal-instruction errors.
This is a copy, or fork, of the Bun project. Bun is an all in one toolkit for running JavaScript and TypeScript code. The README describes it as a single program, called bun, that combines several jobs developers normally do with separate tools: running code, running tests, bundling files for the browser, and installing packages from the npm registry. It is written in the Zig language and uses JavaScriptCore, the same engine that Safari uses, underneath. At the centre is the Bun runtime, which the README presents as a drop in replacement for Node.js. That means most existing Node.js projects can be started with the bun command instead of node and should still work. The pitch is faster startup, lower memory use, and built in support for TypeScript and JSX so files like index.tsx run without a separate compile step. A few example commands shown in the README are bun run index.tsx, bun test for running tests, bun install for adding packages, and bunx for executing a package without installing it globally. Installation works on Linux, macOS, and Windows, including Apple Silicon and arm64 Linux. There is a shell script that you pipe into bash, a PowerShell command for Windows, plus options through npm, Homebrew, and Docker. The README also notes a minimum Linux kernel version of 5.1, with 5.6 or higher recommended, and points x64 users to a CPU requirements page if they hit an illegal instruction error. Once installed, bun upgrade pulls the latest stable release, and bun upgrade with the canary flag pulls the latest build from the main branch. Most of the README is a long list of links into the official documentation at bun.com, grouped by topic: getting started, the runtime, the package manager, the bundler, the test runner, and built in APIs such as an HTTP server, WebSockets, SQLite, and PostgreSQL. Because this is a fork and not the original oven-sh repository, anything specific to this fork is not described in the README provided.
Generated 2026-05-22 · Model: sonnet-4-6 · Verify against the repo before relying on details.