What I do
When you need to understand how Bun works — its runtime, APIs, CLI commands, configuration, or any other aspect — I point you to the authoritative source: the Bun repository's documentation.
When to use me
- •You need to understand a Bun feature, CLI option, or API
- •You are unsure how Bun handles something (install, run, test, build, etc.)
- •You want to verify Bun behavior rather than guessing
- •Working with Bun packages, Bunfile, or Bun-specific tooling
Instructions
- •
Clone the Bun repo (if not already cloned):
bashgit clone --depth 1 https://github.com/oven-sh/bun.git /tmp/bun
- •
Documentation lives at:
code/tmp/bun/docs/
Files are in markdown (
.md) format organized by topic. - •
Read the relevant docs using local file tools (Read, Grep, Glob) to find accurate answers.
- •
For CLI reference, check:
- •
/tmp/bun/docs/cli/— command-line interface docs - •
/tmp/bun/docs/runtime/— runtime documentation - •
/tmp/bun/docs/api/— API reference
- •
- •
For implementation details, also check the source code in:
- •
/tmp/bun/src/— core implementation - •
/tmp/bun/packages/— npm packages and additional tooling
- •
- •
Reuse existing clone — if
/tmp/bunalready exists, don't re-clone.
Key rules
- •Always prefer reading the actual docs/source over guessing about Bun behavior
- •The repo is at
github.com/oven-sh/bun - •Docs are markdown files — read them as markdown
- •For the most up-to-date info, check the
mainbranch