Community field guide · 中文 / English

Run the entire JavaScript toolchain with Bun.

Go from your first TypeScript run to dependencies, tests, and production bundles. Clear for newcomers; dense and machine-readable for AI agents.

PATH A

New to Bun?

Build the right mental model, then ship a small TypeScript service with a real test.

  1. 1Build the mental model
  2. 2Run your first service
  3. 3Add a test
Follow the beginner path
PATH B

Give agents less to guess

Stable facts, explicit limits, paste-ready rules, and task-scoped machine-readable Markdown.

  1. 1Route via llms.txt
  2. 2Load only the task page
  3. 3Verify, then report
Open the AI path
Install Bun

$curl -fsSL https://bun.com/install | bash

$bun test· 1 pass, 0 fail ✓

  • Runtime
  • Package manager
  • Test runner
  • Bundler

From the core toolchain to production data.

Every task route begins with when to use it, then a working example, production limits, and acceptance criteria.

All docs