/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-appMove to my-app and install the dependencies.
cd my-app
npm iUpdate 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