Documentation Index
Fetch the complete documentation index at: https://docs.cubby.pro/llms.txt
Use this file to discover all available pages before exploring further.
Quickstart
Your first Cubby app, live at a real URL, in under five minutes.Prerequisites
- Node.js 18+ installed
- A Cubby account (sign up)
1. Install the CLI
2. Log in
--force to re-authenticate).
Then confirm your identity:
cubby whoami is the reliable check that you are logged in. Once authenticated, the CLI
keeps the session.
3. Create an app
cubby init scaffolds a Next.js app with Prisma and SQLite — the default template on every plan. The non-interactive default is nextjs-sqlite; pass --template to choose deliberately (e.g. cubby init my-app --template nextjs-neon for Neon Postgres on Builder/Pro — see the Neon tutorial). The default is SQLite, not Postgres.
4. Check before you deploy
5. Deploy
Using an AI coding assistant?
You do not need a working app first — let the agent build one from scratch. Paste the Expert from paste prompt into Codex, Claude, or Cursor. It installs the CLI, logs in, runscubby init with the right template, reads the
generated CUBBY.md / AGENTS.md / CLAUDE.md (which override this site), asks you
about local dev, then runs cubby check and cubby deploy.
See Expert from paste for the prompt, or the per-agent
pages: Codex,
Claude (optional MCP path),
Cursor.
Troubleshooting
Build failed
Build failed
Run
cubby check to see what’s wrong. For full build logs, deploy again with cubby deploy --verbose.Not logged in
Not logged in
Run
cubby login your@email.com (add --force to re-authenticate), then confirm with cubby whoami.Missing cubby.yaml
Missing cubby.yaml
cubby init creates this for you. If you started from an existing project, run cubby init . from the project root or write a minimal cubby.yaml with just name:.Wrong package manager
Wrong package manager
Cubby auto-detects npm, yarn, and pnpm from your lockfile. Commit the lockfile that matches the package manager you used.
What’s Next?
Local Development
Run your app locally with
cubby dev.Add Secrets
Configure environment variables.
Database Guide
Work with the SQLite-first database path.
Using with Claude
Build with an AI assistant, then deploy with Cubby.