Installation
Learn how to install and set up Kito in your project
Prerequisites
Before installing Kito, ensure you have one of the following JavaScript runtimes installed:
- Node.js (v18 or higher)
- Deno (v1.30 or higher)
- Bun (v1.0 or higher)
Package Installation
The easiest way to get started with Kito is by using the official CLI tool create-kitojs. This tool sets up a new Kito project with all the necessary configurations.
Or install Kito using your preferred package manager:
TypeScript Configuration
Kito is built with TypeScript and provides full type safety. Ensure your tsconfig.json includes:
{
"compilerOptions": {
"target": "ES2022",
"module": "ESNext",
"moduleResolution": "bundler",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true
}
}Verify Installation
Create a simple server to verify your installation:
import { server } from "kitojs";
const app = server();
app.get("/", ({ res }) => {
res.send("Kito is working!");
});
app.listen(3000, () => console.log("server running!"));Run your server:
Next Steps
- Quick Start Guide - Build your first Kito application
- Core Concepts - Learn about routing and middleware
- API Reference - Explore the complete API