Install vibe-init and set up governance for your project in under 60 seconds.
Install the CLI globally via npm:
npm install -g vibe-init-cli
Verify the installation:
vibe --version
vibe --help
| Requirement | Purpose | Required? |
|---|---|---|
| Node.js 20+ | Runtime environment | Yes |
| Claude CLI | AI-powered commands (init, run, ask) |
For AI features |
| ANTHROPIC_API_KEY | Faster batch generation via Anthropic SDK (falls back to Claude CLI) | Optional |
| Docker | Local dev stack (PostgreSQL, Redis) | Optional |
| @agile-vibe-coding/avc | Agile ceremonies — epics, stories, sprint planning | Optional |
No API keys needed for vibe scan, vibe add, and vibe doctor — they use pure filesystem analysis with zero external calls.
The Claude CLI is required for AI-powered commands. Install it globally:
npm install -g @anthropic-ai/claude-code
Get your key from console.anthropic.com and set it as an environment variable:
# Add to your shell profile (~/.zshrc, ~/.bashrc, etc.)
export ANTHROPIC_API_KEY="sk-ant-..."
vibe-init uses a structured workflow: prepare the room, plan with agile, then build with AI.
# Step 1: Set up the vibe coding framework
mkdir my-app && cd my-app
vibe init
# Step 2: Plan with Agile Vibe Coding (optional)
npm install -g @agile-vibe-coding/avc
vibe avc # Sponsor Call → Epics → Sprint Planning → Stories
# Step 3: Build your project from an idea
vibe build
Run vibe init to generate the AI coding framework. This creates the files that make Claude Code effective on your project:
vibe init
You'll be asked for a project name and stack preference (Next.js, Express, FastAPI, or Go). Then it generates:
/test, /lint, /build, /commit, /review, /add-featureTip: Use vibe --dry-run init to preview generated files without writing anything to disk.
Once the framework is in place, run vibe build to describe your idea and let Claude build it:
vibe build
This walks you through a 3-phase flow:
Requires vibe init first. The build command needs CLAUDE.md to exist in your project directory.
Already have a codebase? vibe init detects it's an existing project and generates the framework from analysis:
cd my-existing-app
vibe init # Scans project, generates CLAUDE.md + skills
Then use vibe scan for a detailed practice report, and vibe add to fix gaps:
vibe scan # See what's missing
vibe add docker # Dockerfile + docker-compose.yml
vibe add ci # GitHub Actions CI pipeline
vibe add testing # Vitest config + sample test
vibe add logging # Pino structured logging
vibe doctor # Check health score
As you build, anchor important feature decisions so context persists across chat sessions:
vibe anchor "user authentication" # Create a feature context doc
vibe anchor "payment flow" # Another feature
vibe anchor # List all anchored features
Each anchor creates docs/context/<feature>.md with a decisions table, constraints, open questions, and progress tracking. Claude reads these before starting work on a feature.
vibe audit # or: vibe doctor
59 policies across 10 categories (security, accessibility, reliability, performance, 12-factor compliance, clean code, API governance, data governance, code review, observability). Shows blocking violations, warnings, and quick-fix commands.
For structured, traceable AI development, use Agile Vibe Coding before building:
# Install AVC
npm install -g @agile-vibe-coding/avc
# Run ceremonies
cd your-project
vibe avc
AVC walks you through two ceremonies:
Every epic and story links back to a requirement — so when you run vibe build and vibe audit, there's a complete traceability chain from business requirement to deployed code.
Tip: AVC is optional but recommended for production projects. It makes governance auditing meaningful — you can trace every line of generated code back to a business requirement.
Use vibe run to keep adding features with full project context:
vibe run "add pagination to the users API endpoint"
vibe run "refactor auth middleware for role-based access"
vibe run "write integration tests for the checkout flow"
Get read-only advice from Claude about your project:
vibe ask "should I use Redis for sessions or stick with JWT?"
vibe ask "what are the security risks in the current auth setup?"
vibe ask "which endpoints might have N+1 query problems?"
A CLAUDE.md file gives Claude context about your project's architecture, conventions, and patterns. Generate one from a scan:
vibe scan --generate-claude-md
This requires an ANTHROPIC_API_KEY. The generated file is written to your project root and used by vibe run and vibe ask for context injection.
These flags work with any command:
| Flag | Description |
|---|---|
--verbose | Show detailed debug output and full error stack traces |
--dry-run | Preview changes without writing files to disk |
--version | Print the installed version |
--help | Show help text for any command |