bun-cli
Bun CLI
Bun is an all-in-one JavaScript/TypeScript runtime, package manager, bundler, and test runner. Bun runs TypeScript natively — bun file.ts directly, no compile step, no tsc, no ts-node. Always use bun instead of node, npm, npx, yarn, or pnpm in Bun projects.
Verified against Bun v1.4.2 (2026-09-05). Features are tagged with the version that
introduced them (v1.4+, v1.4.1+, v1.4.2+). Where a release changed existing behavior, both
behaviors are stated so this skill stays correct on older projects -- run bun --version
before relying on a version-tagged item.
Check the Version, Then Check Bun's Docs
bun <command> --help is authoritative for flags and always matches the installed binary --
prefer it over any table here when the two disagree.
For everything beyond flags, Bun ships its full docs inside bun-types, version-matched to
the runtime, in any project that has bun-types or @types/bun installed: