
Build features from descriptions. Debug and fix issues. Navigate any codebase.
Automate tedious tasks.
Get started in 30 seconds
Prerequisites:- Node.js 18 or newer
- A Continue Hub account (recommended) or local configuration
npm
Two Ways to Use Continue CLI
Continue CLI offers two distinct modes designed for different workflows:TUI Mode: Interactive Development
Perfect for exploration, debugging, and iterating on AI workflows- Interactive conversations with your codebase
- Iterate and refine prompts and approaches
- Explore and understand complex codebases
- Perfect for experimentation and learning
Headless Mode: Production Automation
Perfect for CI/CD, automation, and reliable workflows- Single-command execution for automation
- Reliable, repeatable results for production use
- CI/CD and pipeline integration
- Git hooks and automated workflows
Development Workflow: TUI → Headless
Pro Tip: Start in TUI mode to iterate on your AI agent and prompts. Once
you have a workflow that works reliably, deploy it as a Continuous AI
automation.
- Experiment in TUI mode to perfect your prompts and agent configuration
- Test different approaches interactively until you get consistent results
- Convert successful workflows to automated Continuous AI commands
- Deploy in production with confidence in your proven approach
Why developers love Continue CLI
- Works in your terminal: Not another chat window. Not another IDE. Continue CLI meets you where you already work, with the tools you already love.
- Takes action: Continue CLI can directly edit files, run commands, and create commits. Need more? Check out our MCPs.
- Automate tasks: Create issues from PostHog data, automatically assign labels to issues, and more. Do all this in a single command from your developer machines, or automatically in CI.
- Flexible development flow: Start interactive, then automate proven workflows.
Key Capabilities
Context Engineering
- Use
@
to reference files and provide context - Use
/
to run slash commands for specific tasks - Access the same context providers as IDE extensions
Tool Integration
- File editing and creation
- Terminal command execution
- Codebase understanding and analysis
- Git integration
- Web search and documentation access
Model Flexibility
- Switch between models with
/model
command - Use any model configured in your
config.yaml
- Access Continue Hub models and configurations
Continue Hub Integration
Continue CLI integrates seamlessly with Continue Hub for:API Access
Get an API key for automation workflows:- Visit Continue Hub API Keys
- Create a new API key
- Use with
cn login
or in your automation scripts
Secrets Management
Store secure credentials for CLI workflows:- Visit Continue Hub Secrets
- Add your API keys and sensitive data
- Reference in configurations with
${{ secrets.SECRET_NAME }}
Configuration Sync
- Cloud-managed configurations automatically sync
- Share configurations across team members
- Version control for your AI workflows