Skip to Content
getting-startedInstallation

Last Updated: 3/11/2026


Installation

Getting started with Hono is simple. Use the create-hono command to scaffold a new project with your preferred runtime.

Create a New Project

Run the following command to create a new Hono application:

npm create hono@latest my-app

You can also use your preferred package manager:

# Yarn yarn create hono my-app # pnpm pnpm create hono@latest my-app # Bun bun create hono@latest my-app # Deno deno init --npm hono@latest my-app

Choose Your Runtime

After running the command, you’ll be prompted to select a template for your target runtime:

? Which template do you want to use? aws-lambda bun cloudflare-pages ❯ cloudflare-workers deno fastly nextjs nodejs vercel

Select the runtime that matches your deployment target. The template will be pulled into your project directory.

Install Dependencies

Navigate to your project directory and install dependencies:

cd my-app npm install

Start Development Server

Once installation is complete, start the local development server:

npm run dev

Your application will be available at http://localhost:8787 (port may vary by runtime).

Manual Installation

If you prefer to set up manually, install Hono directly:

npm install hono

Then create your application file (e.g., index.ts):

import { Hono } from 'hono' const app = new Hono() app.get('/', (c) => c.text('Hello Hono!')) export default app

Configuration steps vary by runtime. See the platform-specific guides for details:

Next Steps

Now that you have Hono installed, learn how to build your First Application.