Quick Start
Start with a fresh Nitro project or adopt it in your current Vite project.
Nitro v3 Alpha docs are a work in progress — expect updates, rough edges, and occasional inaccuracies.
Try Nitro online
Get a taste of Nitro in your browser using our playground.
Create a Nitro project
The fastest way to create a Nitro application is using the create-nitro-app
.
npx create-nitro-app
yarn dlx create-nitro-app
pnpm dlx create-nitro-app
bunx create-nitro-app
deno run -A npm:create-nitro-app

Follow the instructions from the CLI and you will be ready to start your development server.
Add to a Vite project
To add Nitro to an existing Vite project, follow these instructions:
nitro
package Install
npm i nitro
yarn add nitro
pnpm i nitro
bun i nitro
deno i npm:nitro
Add Nitro plugin
vite.config.mjs
import { defineConfig } from "vite";
import { nitro } from "nitro/vite";
export default defineConfig({
plugins: [
nitro()
],
});
That's it, you can now add server and API routes to your Vite project!