Getting Started with Kybernus
Welcome to Kybernus! This guide will help you install the CLI and generate your first production-ready backend project in minutes.
#1. Installation
Kybernus is a Node.js CLI tool. You'll need Node.js 18+ installed on your machine.
Global Installation (Recommended)
Installing globally allows you to run kybernus from any directory.
bashnpm install -g kybernus
Using npx (One-time use)
If you prefer not to install it globally, you can run the latest version on demand:
bashnpx kybernus init
#2. Creating Your First Project
The init command is the heart of Kybernus. It launches an interactive wizard to configure your new application.
bashkybernus init
The Wizard Flow
- Project Name: Choose a name (kebab-case recommended, e.g.,
my-awesome-api). - Stack Selection:
- Node.js (Express)
- Java Spring Boot
- Next.js
- NestJS
- Python FastAPI
- Architecture:
- MVC (Model-View-Controller)
- Clean Architecture
- Hexagonal Architecture
- DevOps & Extras:
- Docker & Docker Compose.
- CI/CD Pipelines (GitHub Actions).
- Terraform (AWS Infrastructure).
- AI Documentation (Gemini).
#3. Next Steps
Once generated, navigate into your project folder. You'll find a fully configured codebase ready to run.
bashcd my-awesome-api npm install npm run dev
Check out the README.md inside your generated project for specific build and run instructions tailored to the stack you chose.
