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-appYou 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-appChoose 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
vercelSelect 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 installStart Development Server
Once installation is complete, start the local development server:
npm run devYour 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 honoThen 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 appConfiguration 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.