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.
New to Bun?
Build the right mental model, then ship a small TypeScript service with a real test.
- 1Build the mental model
- 2Run your first service
- 3Add a test
Give agents less to guess
Stable facts, explicit limits, paste-ready rules, and task-scoped machine-readable Markdown.
- 1Route via llms.txt
- 2Load only the task page
- 3Verify, then report
$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.
Machine-readable endpoints
Append .md to any page for Markdown; llms.txt and llms-full.txt cover the whole site.
/llms.txt · /docs/*.mdVersion feature matrix
The Bun version that introduced each capability — the fact source for upgrades and agent constraints.
bun --versionFAQ
Production readiness, npm coexistence, type checking, Windows support.