/Wiki/sources/honojs__hono/2026/https-hono-dev-llms-full-txt-3-hello-world-4581d0703c04-3-hello-world-s0512-c0000.md

3. Hello World - hono-docs

3. Hello World Source evidence: /Sources/raw/honojs hono/honojs hono.md Canonical citation: https://hono.dev/llms full.txt 3 hello world Summary Start your p...

3. Hello World

Source evidence: /Sources/raw/honojshono/honojshono.md Canonical citation: https://hono.dev/llms-full.txt#3-hello-world

Summary

Start your project with "create-hono" command. Select nodejs. sh npm create hono@latest my-app Move to my-app and install the dependencies. sh cd my-app npm i Update the port in src/index.ts to be 8080. ```ts import...

Content

Start your project with "create-hono" command. Select nodejs.

npm create hono@latest my-app

Move to my-app and install the dependencies.

cd my-app
npm i

Update the port in src/index.ts to be 8080.

<!-- prettier-ignore -->

import { serve } from '@hono/node-server'
import { Hono } from 'hono'

const app = new Hono()

app.get('/', (c) => {
  return c.text('Hello Hono!')
})

serve({
  fetch: app.fetch,
  port: 3000 // [!code --]
  port: 8080 // [!code ++]
}, (info) => {
  console.log(`Server is running on http://localhost:${info.port}`)
})

Run the development server locally. Then, access http://localhost:8080 in your Web browser.

npm run dev
Kinic Wiki
Loading knowledge node
Details

Identity

database
db_23dhmsxlhukv
database_id
db_23dhmsxlhukv
path
/Wiki/sources/honojs__hono/2026/https-hono-dev-llms-full-txt-3-hello-world-4581d0703c04-3-hello-world-s0512-c0000.md
kind
directory
role
markdown_note
children
0

Metadata

created_at
virtual
updated_at
virtual
etag
virtual
metadata_json
{}

Lint Hints

No lightweight warnings.

Outgoing Links

No outgoing links indexed.

Incoming Links

Select a file node to inspect backlinks.

Raw Source

No raw source path inferred.