CLI Command Reference
Complete reference for all VibeFast CLI commands, options, and usage examples.
Complete reference documentation for the VibeFast CLI (vf). All commands support --help for detailed information.
Global Options
These options work with all commands:
-V, --version # Show CLI version
-h, --help # Show help for commandCommands Overview
| Command | Description |
|---|---|
vf login | Authenticate with your license key |
vf logout | Clear stored authentication |
vf devices | Manage device activations |
vf list | List available features |
vf add | Add features to your project |
vf remove | Remove installed features |
vf status | Show installed features |
vf checklist | View manual setup steps |
vf env | Interactive environment setup |
vf doctor | Check your VibeFast setup |
vf health | Check project health |
Initialization Commands
vf init
Interactive project creation that lets you start with mobile, web, or both.
Usage:
vf initSetup mode
vf init walks you through:
- Choosing between Clean (minimal essentials) and Custom (pick only the integrations you need)
- Selecting platforms: Native (Expo), Web (Next.js), or Both
- Naming your project and entering your license key so the CLI can configure Convex, routes, and assets
Clean mode gives you a lean starter and is perfect for mobile-only or web-only cases. Custom mode installs exactly what you choose so nothing extra lands in your repo. After initialization you can still run vf add to bring in new integrations or vf remove to prune them—both commands understand which platforms each feature targets.
What happens next?
- The chosen platform scaffolds (Expo, Next.js, or both) are configured.
- Selected features and integrations are downloaded, their files merged, and dependencies installed.
- Required assets (Vosk, AI recipes, etc.) are fetched automatically.
- Environment files and your Convex backend are wired up so you can start developing immediately.
Keep refining the workspace with vf add / vf remove instead of manually editing the repo.
Authentication Commands
vf login
Authenticate with the VibeFast license key you received when you purchased the starter kit. You need to log in once before using other CLI commands.
Usage:
vf login --token YOUR_LICENSE_KEYOptions:
--token <token>- Your VibeFast license key (required)
Example:
vf login --token vf_1234567890abcdefOutput:
✓ Successfully authenticated
✓ Device registered: MacBook Pro (9160c34d)vf logout
Clear your stored authentication token.
Usage:
vf logoutExample:
vf logoutOutput:
✓ Logged out successfullyvf devices
Manage your device activations.
Usage:
vf devices [options]Options:
--deactivate <device-id>- Deactivate a specific device
Examples:
# List all activated devices
vf devices
# Deactivate a device
vf devices --deactivate 9160c34dOutput:
Your Devices:
1. MacBook Pro (9160c34d) - Active
2. iMac (a1b2c3d4) - Active
3. Windows PC (e5f6g7h8) - Active
Device limit: 3/5Feature Management Commands
vf list
List all available features organized by category.
Usage:
vf listExample:
vf listOutput:
📱 Native (Expo) Features
• audio-recorder - Record and manage voice notes
• charts - Beautiful data visualization with charts
• chatbot - AI-powered chat assistant
• image-analysis - AI-powered image analysis with trait detection
• image-generator - AI-powered image generation
• ios-widget - iOS Home Screen widgets with Live Activities
• quiz - Interactive quiz feature
• tracker-app - Simple calorie tracker with a clean UI
• voice-bot - Real-time voice conversations with AI
• wake-word - Wake word detection with Vosk
Commands:
vf add <feature> Install a feature
vf checklist <feature> View setup steps
vf status Show installed featuresvf add
Add features, UI components, or integrations to your project.
Usage:
vf add [feature] [options]Options:
--target <target>- Target platform:nativeorweb(default: auto-detect)--dry-run- Preview changes without applying--force- Overwrite existing files without asking--yes- Answer yes to all prompts (for automation)
Examples:
# Interactive mode (recommended)
vf add
# Install specific feature
vf add chatbot
# Preview without installing
vf add chatbot --dry-run
# Force reinstall
vf add chatbot --force
# Automated installation (no prompts)
vf add chatbot --yesInteractive Mode:
┌ 🎯 VibeFast Feature Installer
│
◆ Select features to add:
│ ◻ audio-recorder
│ ◻ charts
│ ◻ chatbot
│ ◻ image-analysis
│ ◼ image-generator ← selected
│ ◻ ios-widget
│ ◻ quiz
│ ◻ tracker-app
│ ◻ voice-bot
│ ◻ wake-word
└
◇ Fetching image-generator...
◇ ✓ Recipe fetched
◇ Downloading and extracting recipe...
◇ ✓ Recipe downloaded
ℹ Installing image-generator v1.0.0...
✓ image-generator installed successfully!
ℹ Files added: 15
⚠ REQUIRED ENVIRONMENT VARIABLES:
REPLICATE_API_TOKEN
Get your API token from Replicate
Example: r8_...
Get it: https://replicate.com/account/api-tokens
ℹ Add these to your .env file
└ ✨ Installation complete!What the CLI Does:
- Fetches the feature recipe from the server
- Downloads and extracts files
- Copies files to your project
- Adds navigation links (if applicable)
- Installs dependencies (with confirmation)
- Downloads assets (like Vosk models)
- Shows manual setup steps
- Detects missing environment variables
vf remove
Remove an installed feature from your project.
Usage:
vf remove <feature> [options]Options:
--target <target>- Target platform:nativeorweb--dry-run- Preview what will be removed--yes- Skip confirmation prompts
Examples:
# Remove a feature
vf remove chatbot
# Preview removal
vf remove chatbot --dry-run
# Remove without confirmation
vf remove chatbot --yesOutput:
⚠ This will remove:
• 25 files
• Navigation entry
• Dependencies (if not used by other features)
Are you sure? (y/n): y
✓ Removed chatbot successfully
ℹ Run 'pnpm install' to clean up unused dependenciesvf status
Show all installed features and their status.
Usage:
vf statusExample:
vf statusOutput:
Installed Features:
✓ chatbot
Files: 25
Installed: 2 hours ago
✓ image-generator
Files: 15
Installed: 1 hour ago
✓ wake-word
Files: 12
Installed: 30 minutes ago
Total: 3 features installedvf checklist
View manual setup steps for a feature.
Usage:
vf checklist <feature> [options]Options:
--target <target>- Target platform:nativeorweb
Examples:
# View checklist for a feature
vf checklist chatbotOutput:
📋 Manual Setup Steps for chatbot
⚠ REQUIRED ENVIRONMENT VARIABLES:
OPENAI_API_KEY
Your OpenAI API key for chat functionality
Example: sk-...
Get it: https://platform.openai.com/api-keys
⚠ MANUAL STEPS REQUIRED:
Step 1: Configure AI Provider
Update the AI provider settings in your backend
File: packages/backend/convex/lib/ai/config.ts
Add: export const AI_PROVIDER = 'openai';
Step 2: Enable Streaming
Enable streaming responses in your app config
File: apps/native/app.config.ts
Add: streaming: { enabled: true }
💡 Run 'vf env' for interactive environment setupEnvironment & Setup Commands
vf env
Interactive environment variable setup.
Usage:
vf env [options]Options:
--dry-run- Preview what would be configured
Example:
vf envInteractive Flow:
🔍 Checking environment variables...
Missing variables for installed features:
• OPENAI_API_KEY (needed by: chatbot, image-generator)
• REPLICATE_API_TOKEN (needed by: image-generator)
Would you like to set them up now? (y/n): y
◆ Enter OPENAI_API_KEY:
│ sk-...
└
◆ Enter REPLICATE_API_TOKEN:
│ r8_...
└
✓ Environment variables saved to .env
✓ Run 'pnpm dev' to apply changesvf doctor
Check your VibeFast setup and configuration.
Usage:
vf doctorExample:
vf doctorOutput:
ℹ Checking authentication...
✓ Authenticated
ℹ Checking repository signature...
✓ Valid VibeFast repository
Name: vibefast
Version: 1.0.0
ℹ Checking navigation markers...
✓ Native nav file found
✓ Web nav file found
ℹ Checking installed features...
✓ 4 features installed
✓ All features valid
✓ Setup completevf health
Check project health and configuration.
Usage:
vf healthExample:
vf healthOutput:
Project Health Check:
✓ Dependencies installed
✓ TypeScript configuration valid
✓ Environment variables configured
⚠ Some features need manual setup
Run: vf checklist chatbot
✓ Overall health: GoodAdvanced Usage
Combining Commands
# Install multiple features in sequence
vf add chatbot && vf add image-generator && vf add wake-word
# Install and check status
vf add chatbot && vf status
# Install and view checklist
vf add chatbot && vf checklist chatbotUsing in Scripts
#!/bin/bash
# setup-features.sh
# Install features non-interactively
vf add chatbot --yes
vf add image-generator --yes --target native
vf add wake-word --yes
# Check status
vf status
# Show what needs manual setup
vf checklist chatbot
vf checklist image-generator
vf checklist wake-wordCI/CD Integration
# .github/workflows/test-features.yml
name: Test Features
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install CLI
run: npm install -g vibefast-cli
- name: Authenticate
run: vf login --token ${{ secrets.VIBEFAST_TOKEN }}
- name: Install features
run: |
vf add chatbot --yes
vf add image-generator --yes
- name: Check status
run: vf status
- name: Run tests
run: pnpm testExit Codes
The CLI uses standard exit codes:
0- Success1- General error2- Invalid arguments3- Authentication error4- Network error5- File system error
Example:
vf add chatbot
echo $? # Prints exit codeEnvironment Variables
The CLI respects these environment variables:
# Skip interactive prompts
CI=true vf add chatbot
# Custom config directory
VIBEFAST_CONFIG_DIR=~/.config/vibefast vf login
# Verbose output
DEBUG=vf:* vf add chatbotTips & Tricks
1. Use Tab Completion
Enable tab completion for faster command entry:
# For bash
vf completion bash >> ~/.bashrc
# For zsh
vf completion zsh >> ~/.zshrc2. Alias Common Commands
# Add to ~/.bashrc or ~/.zshrc
alias vfa='vf add'
alias vfs='vf status'
alias vfl='vf list'3. Check Before Installing
# Always check what's available first
vf list
# Preview before installing
vf add chatbot --dry-run
# Check requirements
vf checklist chatbot4. Keep CLI Updated
# Check current version
vf --version
# Update to latest
npm update -g vibefast-cliGetting Help
Command Help
# General help
vf --help
# Command-specific help
vf add --help
vf remove --help
vf env --helpSupport
- 📧 Email: support@vibefast.pro
- 💬 Discord: Join our community
- 📚 Docs: vibefast.pro/docs
- 🐛 Issues: GitHub Issues
Next Steps
- CLI Quick Start - Get started with the CLI
- Feature Customization - Learn about each feature
- Environment Setup - Configure environment variables
Found an issue or bug in the docs?
Help me improve! If you spot any errors, typos, or have suggestions, please let me know.
Reach out on X/Twitter @zafarbuildzz