Bun

Run Nitro apps with Bun runtime.

Preset: bun

Nitro output is compatible with the Bun runtime. While the default Node.js output also runs in Bun, building with the bun preset enables Bun-specific optimizations.

After building with the bun preset, start the production server with:

bun run ./.output/server/index.mjs
Read more in bun.sh.