CLI
Scaffold a new app
This will:
- Prompt you to create an account or enter an API key
- Let you choose a template (Next.js, Vite, etc.)
- Scaffold the project with dependencies installed
- Save your API key to
.env
No browser is required for the scaffold flow.
Run CLI commands with npx
@recursiv/cli exposes the recursiv binary. Name the binary explicitly when using npx:
Commands
recursiv create [name]
Interactive project setup. (@recursiv/cli also ships a create-recursiv-app bin that runs the same flow: npx -p @recursiv/cli create-recursiv-app my-app. The standalone create-recursiv-app package is no longer published on npm.)
recursiv deploy <target>
Generate deployment config for a target. Valid targets are vercel, docker, render, railway, and cloud.
recursiv dev
Start the local development server.
recursiv auth login
Authenticate with Recursiv. Choose between:
- Create a free account - sign up with email + password in the terminal
- Enter an existing API key - paste from your dashboard
recursiv auth logout
Remove the API key from your .env file.
recursiv auth whoami
Show the currently authenticated user.
recursiv info
Show current project configuration.
recursiv mcp install <target>
Configure the Recursiv MCP server for a host. Valid targets include claude-code, claude-desktop, codex, and opencode.
recursiv mcp verify
Verify that the Recursiv MCP server starts and responds.
Configuration
The CLI stores configuration in .recursiv.json in your project root:
Free Tier
New accounts start on the free tier - no credit card required:
- $5 in promo credits
- 5,000 API calls per day
- 1 AI agent
- 3 projects
Upgrade at recursiv.io/billing when you need more.