Koko Koala Logo
Koko
FAQ

Frequently Asked Questions

/

Featured Questions

FAQ 1 · go· cli· performance

Why is the Koko CLI written in Go?

Go enables us to compile a single, dependency-free binary for the end-user. This guarantees instant execution (sub-millisecond cold start) and removes the need to configure global Node.js setups or manage npm version conflicts just to scaffold a project.

Questions

18
Page 1 of 3

Go enables us to compile a single, dependency-free binary for the end-user. This guarantees instant execution (sub-millisecond cold start) and removes the need to configure global Node.js setups or manage npm version conflicts just to scaffold a project.

Absolutely! Once you have the Koko binary or package installed, the CLI generates all files, configurations, schemas, and scripts 100% locally on your machine without contacting external servers.

When you choose separate frontend and backend frameworks (or select recipes like PERN or MERN), Koko automatically scaffolds a monorepo workspace powered by pnpm workspaces and Turborepo (`turbo.json`). This enables shared database schemas (`packages/db`) and TypeScript configs with zero code duplication.

koko doctor is Koko's introspection and diagnostic engine. In under 20ms, it analyzes your project tree, dependencies declared in package.json/go.mod/requirements.txt, and container configurations, comparing them against the koko.config.json manifest and the Master Catalog.

If it detects outdated dependencies, Docker port collisions, or monorepo workspace inconsistencies, running `koko doctor --fix` automatically and safely reconciles the discrepancies.

Quick Setup lets you initialize battle-tested, production-ready stacks in a single step (such as SaaS Starter with Next.js + Drizzle + Better-Auth + Stripe, Enterprise NestJS, Java Spring Boot, or FastAPI + React).

Manual Configuration gives you granular control over every technological layer: choose your frontend, backend, package manager, database, ORM, auth provider, and DevOps tooling with real-time compatibility validation.

Koko provides first-class support for Better-Auth, Clerk, and NextAuth (Auth.js). When selecting a provider, Koko generates the API routes (`/api/auth/[...all]`), database user/session schemas in your ORM, route protection middlewares, and client-side hooks out of the box.

If your project does not require built-in authentication or relies on external BaaS solutions, you can select "none" in the wizard or pass the `--auth none` flag.

Showing 1 - 6 of 18 questions