Skip to content

honojs/create-hono

Repository files navigation

Create Hono

Create a Hono application from starter templates.

Quick Start

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

Options

-t, --template <template>

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

-i, --install

Install dependencies after cloning template.

npm create hono@latest ./my-app -- --install

-p, --pm <pnpm|bun|deno|npm|yarn>

Allows you to specify which package manager to use.

npm create hono@latest ./my-app -- --pm pnpm

-o, --offline

Use the local cache instead of fetching the latest templates.

npm create hono@latest ./my-app -- --offline

Author

Yusuke Wada https://github.com/yusukebe

and Hono contributors

License

MIT

This project source code is based on Create Solid MIT Licensed. https://github.com/solidjs/solid-start/tree/main/packages/create-solid