/Knowledge/sources/honojs__hono/llms-full/bun-hello-world--9b3eb30ca4d3.md
Bun: Hello World - hono-docs
Bun: Hello World Source evidence: /Sources/honojs hono/provenance.md Canonical citation: https://hono.dev/llms full.txt 3 hello world Summary "Hello World" s...
Bun: Hello World
Source evidence: /Sources/honojs__hono/provenance.md Canonical citation: https://hono.dev/llms-full.txt#3-hello-world
Summary
"Hello World" script is below. Almost the same as writing on other platforms. ts import { Hono } from 'hono' const app = new Hono() app.get('/', (c) => c.text('Hello Bun!')) export default app If you are setting up Hono on an exis...
Content
"Hello World" script is below. Almost the same as writing on other platforms.
import { Hono } from 'hono'
const app = new Hono()
app.get('/', (c) => c.text('Hello Bun!'))
export default app
If you are setting up Hono on an existing project, the bun run dev command expects the "Hello World" script to be placed in src/index.ts
Metadata
{
"chunk_index": 0,
"citation": "https://hono.dev/llms-full.txt#3-hello-world",
"coverage_role": "overview",
"qualified_title": "Hono / llms-full / Bun > 3. Hello World",
"retrieved_at": "2026-07-02T05:51:01Z",
"section_index": 410,
"source_id": "/honojs/hono",
"source_type": "llms_full",
"target_label": "llms-full",
"title": "Bun: Hello World",
"upstream_url": "https://hono.dev/llms-full.txt",
"version": "2026"
}