/Knowledge/sources/honojs__hono/llms-full/create-hono-passing-arguments--f6e92cc95896.md
Create-hono: Passing arguments: - hono-docs
Create hono: Passing arguments: Source evidence: /Sources/honojs hono/provenance.md Canonical citation: https://hono.dev/llms full.txt passing arguments Summ...
Create-hono: Passing arguments:
Source evidence: /Sources/honojs__hono/provenance.md Canonical citation: https://hono.dev/llms-full.txt#passing-arguments
Summary
When you use npm create (or npx) arguments intended for the initializer script must be placed after --. Anything after -- is forwarded to the initializer. ::: code-group ```sh [npm] # Forwarding arguments to create-hono (npm...
Content
When you use npm create (or npx) arguments intended for the initializer script must be placed after --. Anything after -- is forwarded to the initializer.
::: code-group
# Forwarding arguments to create-hono (npm requires `--`)
npm create hono@latest my-app -- --template cloudflare-workers
# "--template cloudflare-workers" selects the Cloudflare Workers template
yarn create hono my-app --template cloudflare-workers
# "--template cloudflare-workers" selects the Cloudflare Workers template
pnpm create hono@latest my-app --template cloudflare-workers
# "--template cloudflare-workers" selects the Cloudflare Workers template
bun create hono@latest my-app --template cloudflare-workers
Metadata
{
"chunk_index": 0,
"citation": "https://hono.dev/llms-full.txt#passing-arguments",
"coverage_role": "overview",
"qualified_title": "Hono / llms-full / Create-hono > Passing arguments: (1)",
"retrieved_at": "2026-07-02T05:51:01Z",
"section_index": 31,
"source_id": "/honojs/hono",
"source_type": "llms_full",
"target_label": "llms-full",
"title": "Create-hono: Passing arguments:",
"upstream_url": "https://hono.dev/llms-full.txt",
"version": "2026"
}