Create a Hono application from starter templates.
Starter templates are available for each platform. Use one the following "create-hono" commands.
# npm
npm create hono@latest
# yarn
yarn create hono
# pnpm
pnpm create hono@latest
# bun
bun create hono@latest
# deno
deno run -A npm:create-hono@latest
You can specify the desired template from the command line. This is useful for automation, where you'd like to skip any interactive prompts.
npm create hono@latest ./my-app -- --template cloudflare-pages
Install dependencies after cloning template.
npm create hono@latest ./my-app -- --install
Allows you to specify which package manager to use.
npm create hono@latest ./my-app -- --pm pnpm
Use the local cache instead of fetching the latest templates.
npm create hono@latest ./my-app -- --offline
Yusuke Wada https://github.com/yusukebe
and Hono contributors
MIT
This project source code is based on Create Solid MIT Licensed. https://github.com/solidjs/solid-start/tree/main/packages/create-solid