/Knowledge/sources/honojs__hono/llms-full/google-cloud-run-hello-world--f28587177cb6.md
Google Cloud Run: Hello World - hono-docs
Google Cloud Run: Hello World Source evidence: /Sources/honojs hono/provenance.md Canonical citation: https://hono.dev/llms full.txt 3 hello world Summary St...
Google Cloud Run: Hello World
Source evidence: /Sources/honojs__hono/provenance.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.
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
Metadata
{
"chunk_index": 0,
"citation": "https://hono.dev/llms-full.txt#3-hello-world",
"coverage_role": "overview",
"qualified_title": "Hono / llms-full / Google Cloud Run > 3. Hello World",
"retrieved_at": "2026-07-02T05:51:01Z",
"section_index": 512,
"source_id": "/honojs/hono",
"source_type": "llms_full",
"target_label": "llms-full",
"title": "Google Cloud Run: Hello World",
"upstream_url": "https://hono.dev/llms-full.txt",
"version": "2026"
}