Quick Start
Prerequisites
Section titled “Prerequisites”- Node.js 24+
- pnpm 9+
- Docker / Docker Compose
1. Clone the repository
Section titled “1. Clone the repository”git clone https://github.com/kukan-project/kukan.gitcd kukangit checkout vX.Y.Z # latest release (omit to stay on main for the development version)See GitHub Releases for the list of releases.
2. Install dependencies
Section titled “2. Install dependencies”pnpm install3. Start infrastructure
Section titled “3. Start infrastructure”Start PostgreSQL, MinIO, ElasticMQ, OpenSearch, and Ollama with Docker Compose.
docker compose up -d4. Environment variables
Section titled “4. Environment variables”cp .env.example .env5. Run database migrations
Section titled “5. Run database migrations”pnpm db:migrate6. Start the development server
Section titled “6. Start the development server”pnpm devAccess the application at http://localhost:3000.
7. Register the initial user
Section titled “7. Register the initial user”Open http://localhost:3000/auth/sign-up and register the first user.
While no users exist, self-registration is enabled and the first
registered user automatically becomes a sysadmin (system administrator).
You can also create users via the CLI (--role defaults to user when
omitted).
pnpm db:create-user --email admin@example.com --name admin --password <password> --role sysadmin