Skip to main content
Initialize a fresh Astro app with bun create astro. The create-astro package detects when you are using bunx and installs dependencies with bun.
terminal

Start the dev server with bunx. By default, Bun runs the dev server with Node.js. To use the Bun runtime instead, pass the --bun flag.
terminal

Open http://localhost:4321 in your browser to see the result. Astro hot-reloads the app as you edit your source files.

See the Astro docs.