Changesets · Branches · Tags · Compare
| Changeset | f7e76bf9acb38b8f8329ad58f174d30362bb2e3e79d85d74d98b82f2de07e0ca |
|---|---|
| Author | Ty Dunn <ty@continue.dev> · 2025-09-24 19:32 -07:00 |
| Committer | GitHub <noreply@github.com> · 2025-09-24 19:32 -07:00 |
| Parents | e7349d8e383b, 476922761a34 |
6 files changed
added docs/cli/install.mdx +134 −0
| @@ -0,0 +1,134 @@ | ||
| 1 | +--- | |
| 2 | +title: "Install Continue CLI" | |
| 3 | +description: "Get Continue CLI installed and configured for command-line AI coding assistance and automation" | |
| 4 | +sidebarTitle: "Install" | |
| 5 | +--- | |
| 6 | + | |
| 7 | +<Info> | |
| 8 | + Make sure you have [Node.js 18 or higher | |
| 9 | + installed](https://nodejs.org/en/download/). | |
| 10 | +</Info> | |
| 11 | + | |
| 12 | +## Installation | |
| 13 | + | |
| 14 | +Install Continue CLI globally using npm: | |
| 15 | + | |
| 16 | +```bash | |
| 17 | +npm i -g @continuedev/cli | |
| 18 | +``` | |
| 19 | + | |
| 20 | +## Two Ways to Use Continue CLI | |
| 21 | + | |
| 22 | +<Info> | |
| 23 | + **Quick Overview**: Continue CLI works in two modes - TUI for interactive | |
| 24 | + conversations or headless for automated commands. | |
| 25 | +</Info> | |
| 26 | + | |
| 27 | +<Tabs> | |
| 28 | +<Tab title="TUI Mode"> | |
| 29 | +**Interactive development sessions** | |
| 30 | + | |
| 31 | +Start a conversation with AI in your terminal: | |
| 32 | + | |
| 33 | +```bash | |
| 34 | +cn | |
| 35 | +> @src/app.js Generate unit tests for this component | |
| 36 | +``` | |
| 37 | + | |
| 38 | +Perfect for exploration, debugging, and iterative development. | |
| 39 | + | |
| 40 | +</Tab> | |
| 41 | + | |
| 42 | +<Tab title="Headless Mode"> | |
| 43 | +**Automation and scripting** | |
| 44 | + | |
| 45 | +Single commands that return results: | |
| 46 | + | |
| 47 | +```bash | |
| 48 | +cn -p "Generate a commit message for current changes" | |
| 49 | +cn -p "Review the last 5 commits for issues" | |
| 50 | +``` | |
| 51 | + | |
| 52 | +Perfect for CI/CD, git hooks, and automated workflows. | |
| 53 | + | |
| 54 | +</Tab> | |
| 55 | +</Tabs> | |
| 56 | + | |
| 57 | +## Setup | |
| 58 | + | |
| 59 | +<Tabs> | |
| 60 | +<Tab title="cn TUI Mode"> | |
| 61 | + | |
| 62 | +For interactive development and exploration: | |
| 63 | + | |
| 64 | +<Steps> | |
| 65 | +<Step title="Login to Continue CLI"> | |
| 66 | +```bash | |
| 67 | +cn login | |
| 68 | +``` | |
| 69 | +This will open your browser to authenticate with Continue Hub. | |
| 70 | +</Step> | |
| 71 | + | |
| 72 | +<Step title="Test TUI Mode"> | |
| 73 | +Start an interactive session: | |
| 74 | +```bash | |
| 75 | +cn | |
| 76 | +``` | |
| 77 | + | |
| 78 | +Try asking a question: | |
| 79 | + | |
| 80 | +``` | |
| 81 | +> Tell me about the CLI | |
| 82 | +``` | |
| 83 | + | |
| 84 | +</Step> | |
| 85 | +</Steps> | |
| 86 | +</Tab> | |
| 87 | +<Tab title="cn Headless Mode"> | |
| 88 | + | |
| 89 | +For automation workflows and scripting: | |
| 90 | + | |
| 91 | +<Steps> | |
| 92 | +<Step title="Get API Key for Automation"> | |
| 93 | +For automation workflows, get an API key: | |
| 94 | +1. Visit [Continue Hub API Keys](https://hub.continue.dev/settings/api-keys) | |
| 95 | +2. Click **"+ New API Key"** | |
| 96 | +3. Copy the API key immediately (you won't see it again!) | |
| 97 | +4. Login using your Continue account | |
| 98 | +</Step> | |
| 99 | + | |
| 100 | +<Step title="Add Secrets for Workflows"> | |
| 101 | +Store secure credentials for CLI workflows: | |
| 102 | +1. Visit [Continue Hub Secrets](https://hub.continue.dev/settings/secrets) | |
| 103 | +2. Add your API keys and sensitive data | |
| 104 | +3. Reference in configurations with `${{ secrets.SECRET_NAME }}` | |
| 105 | +</Step> | |
| 106 | + | |
| 107 | +<Step title="Test Headless Mode"> | |
| 108 | +Try headless mode for automation: | |
| 109 | +```bash | |
| 110 | +cn -p "Generate a conventional commit message for the current git changes" | |
| 111 | +``` | |
| 112 | +</Step> | |
| 113 | +</Steps> | |
| 114 | +</Tab> | |
| 115 | +</Tabs> | |
| 116 | + | |
| 117 | +## What's Next? | |
| 118 | + | |
| 119 | +<CardGroup cols={2}> | |
| 120 | +<Card title="Quick Start Guide" icon="rocket" href="/cli/quick-start"> | |
| 121 | + Learn basic usage with practical examples | |
| 122 | +</Card> | |
| 123 | + | |
| 124 | +<Card title="Create your first workflow" icon="gear" href="/guides/posthog-github-continuous-ai"> | |
| 125 | + Build automated workflows with Continue CLI | |
| 126 | +</Card> | |
| 127 | +</CardGroup> | |
| 128 | + | |
| 129 | +## Getting Help | |
| 130 | + | |
| 131 | +If you encounter issues: | |
| 132 | + | |
| 133 | +- Ask for help in [our discussions](https://github.com/continuedev/continue/discussions) | |
| 134 | +- Report bugs on [GitHub](https://github.com/continuedev/continue) |
added docs/cli/overview.mdx +228 −0
| @@ -0,0 +1,228 @@ | ||
| 1 | +--- | |
| 2 | +title: "Continue CLI (cn) Overview" | |
| 3 | +description: "Command-line interface for automated coding tasks, scripting, and headless development workflows with Continue's AI coding capabilities" | |
| 4 | +sidebarTitle: "Overview" | |
| 5 | +--- | |
| 6 | + | |
| 7 | +<Frame> | |
| 8 | + <img src="/images/cn-demo.gif" /> | |
| 9 | +</Frame> | |
| 10 | + | |
| 11 | +**Continue enables developers to ship faster with Continuous AI.** | |
| 12 | + | |
| 13 | +<Tip> | |
| 14 | + Build features from descriptions. Debug and fix issues. Navigate any codebase. | |
| 15 | + Automate tedious tasks. | |
| 16 | +</Tip> | |
| 17 | + | |
| 18 | +## Get started in 30 seconds | |
| 19 | + | |
| 20 | +Prerequisites: | |
| 21 | + | |
| 22 | +- [Node.js 18 or newer](https://nodejs.org/en/download/) | |
| 23 | +- A [Continue Hub](https://hub.continue.dev) account (recommended) or local configuration | |
| 24 | + | |
| 25 | +```bash npm | |
| 26 | +# Install Continue CLI | |
| 27 | +npm install -g @continuedev/cli | |
| 28 | + | |
| 29 | +# Navigate to your project | |
| 30 | + | |
| 31 | +cd your-awesome-project | |
| 32 | + | |
| 33 | +# Start coding with Continue | |
| 34 | + | |
| 35 | +cn | |
| 36 | + | |
| 37 | +# You'll be prompted to set up on first use | |
| 38 | + | |
| 39 | +``` | |
| 40 | + | |
| 41 | +That's it! You're ready to start automating with Continue CLI. | |
| 42 | + | |
| 43 | +[Continue with CLI Quickstart →](/cli/quick-start) | |
| 44 | + | |
| 45 | +## Two Ways to Use Continue CLI | |
| 46 | + | |
| 47 | +Continue CLI offers two distinct modes designed for different workflows: | |
| 48 | + | |
| 49 | +### TUI Mode: Interactive Development | |
| 50 | + | |
| 51 | +**Perfect for exploration, debugging, and iterating on AI workflows** | |
| 52 | + | |
| 53 | +```bash | |
| 54 | +cn | |
| 55 | +> @src/components/UserProfile.js Review this component for security issues | |
| 56 | +> Generate comprehensive unit tests | |
| 57 | +> Suggest performance improvements | |
| 58 | +``` | |
| 59 | + | |
| 60 | +- **Interactive conversations** with your codebase | |
| 61 | +- **Iterate and refine** prompts and approaches | |
| 62 | +- **Explore and understand** complex codebases | |
| 63 | +- **Perfect for experimentation** and learning | |
| 64 | + | |
| 65 | +### Headless Mode: Production Automation | |
| 66 | + | |
| 67 | +**Perfect for CI/CD, automation, and reliable workflows** | |
| 68 | + | |
| 69 | +```bash | |
| 70 | +cn -p "Generate a conventional commit message for staged changes" | |
| 71 | +cn -p "Review pull request changes for security vulnerabilities" | |
| 72 | +cn -p "Update documentation based on recent code changes" | |
| 73 | +``` | |
| 74 | + | |
| 75 | +- **Single-command execution** for automation | |
| 76 | +- **Reliable, repeatable results** for production use | |
| 77 | +- **CI/CD and pipeline integration** | |
| 78 | +- **Git hooks and automated workflows** | |
| 79 | + | |
| 80 | +### Development Workflow: TUI → Headless | |
| 81 | + | |
| 82 | +<Tip> | |
| 83 | + **Pro Tip**: Start in TUI mode to iterate on your AI agent and prompts. Once | |
| 84 | + you have a workflow that works reliably, deploy it as a Continuous AI | |
| 85 | + automation. | |
| 86 | +</Tip> | |
| 87 | + | |
| 88 | +1. **Experiment in TUI mode** to perfect your prompts and agent configuration | |
| 89 | +2. **Test different approaches** interactively until you get consistent results | |
| 90 | +3. **Convert successful workflows** to automated Continuous AI commands | |
| 91 | +4. **Deploy in production** with confidence in your proven approach | |
| 92 | + | |
| 93 | +## Why developers love Continue CLI | |
| 94 | + | |
| 95 | +- **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. | |
| 96 | +- **Takes action**: Continue CLI can directly edit files, run commands, and create commits. Need more? Check out our [MCPs](/customize/deep-dives/mcp). | |
| 97 | +- **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. | |
| 98 | +- **Flexible development flow**: Start interactive, then automate proven workflows. | |
| 99 | + | |
| 100 | +## Key Capabilities | |
| 101 | + | |
| 102 | +### Context Engineering | |
| 103 | + | |
| 104 | +- Use `@` to reference files and provide context | |
| 105 | +- Use `/` to run slash commands for specific tasks | |
| 106 | +- Access the same context providers as IDE extensions | |
| 107 | + | |
| 108 | +### Tool Integration | |
| 109 | + | |
| 110 | +- File editing and creation | |
| 111 | +- Terminal command execution | |
| 112 | +- Codebase understanding and analysis | |
| 113 | +- Git integration | |
| 114 | +- Web search and documentation access | |
| 115 | + | |
| 116 | +### Model Flexibility | |
| 117 | + | |
| 118 | +- Switch between models with `/model` command | |
| 119 | +- Use any model configured in your `config.yaml` | |
| 120 | +- Access Continue Hub models and configurations | |
| 121 | + | |
| 122 | +## Continue Hub Integration | |
| 123 | + | |
| 124 | +Continue CLI integrates seamlessly with [Continue Hub](https://hub.continue.dev) for: | |
| 125 | + | |
| 126 | +### API Access | |
| 127 | + | |
| 128 | +Get an API key for automation workflows: | |
| 129 | + | |
| 130 | +1. Visit [Continue Hub API Keys](https://hub.continue.dev/settings/api-keys) | |
| 131 | +2. Create a new API key | |
| 132 | +3. Use with `cn login` or in your automation scripts | |
| 133 | + | |
| 134 | +### Secrets Management | |
| 135 | + | |
| 136 | +Store secure credentials for CLI workflows: | |
| 137 | + | |
| 138 | +1. Visit [Continue Hub Secrets](https://hub.continue.dev/settings/secrets) | |
| 139 | +2. Add your API keys and sensitive data | |
| 140 | +3. Reference in configurations with `${{ secrets.SECRET_NAME }}` | |
| 141 | + | |
| 142 | +### Configuration Sync | |
| 143 | + | |
| 144 | +- Cloud-managed configurations automatically sync | |
| 145 | +- Share configurations across team members | |
| 146 | +- Version control for your AI workflows | |
| 147 | + | |
| 148 | +## Common Use Cases | |
| 149 | + | |
| 150 | +### TUI Mode Examples | |
| 151 | + | |
| 152 | +**Interactive development and exploration:** | |
| 153 | + | |
| 154 | +<CodeGroup> | |
| 155 | +```bash Codebase Exploration | |
| 156 | +# Start interactive session | |
| 157 | +cn | |
| 158 | +> @src/components Find all unused React components | |
| 159 | +> /explain How does authentication work in this codebase? | |
| 160 | +> @auth/ What security patterns are used here? | |
| 161 | +``` | |
| 162 | + | |
| 163 | +```bash Iterative Debugging | |
| 164 | +# Debug issues interactively | |
| 165 | +cn | |
| 166 | +> @tests/auth.test.js This test is failing, help me understand why | |
| 167 | +> @src/auth/middleware.js Let's examine this middleware | |
| 168 | +> /debug What could be causing the timeout error? | |
| 169 | +``` | |
| 170 | + | |
| 171 | +```bash Workflow Development | |
| 172 | +# Develop and test automation workflows | |
| 173 | +cn | |
| 174 | +> @package.json @CHANGELOG.md Generate a release notes template | |
| 175 | +> # Test and refine the approach | |
| 176 | +> # Once working, convert to: cn -p "Generate release notes" | |
| 177 | +``` | |
| 178 | + | |
| 179 | +</CodeGroup> | |
| 180 | + | |
| 181 | +### Headless Mode Examples | |
| 182 | + | |
| 183 | +**Production automation and scripting:** | |
| 184 | + | |
| 185 | +<CodeGroup> | |
| 186 | +```bash Git Automation | |
| 187 | +# Generate commit messages | |
| 188 | +cn -p "Generate a conventional commit message for the current changes" | |
| 189 | + | |
| 190 | +# Code review automation | |
| 191 | + | |
| 192 | +cn -p "Review the current git changes for bugs and suggest improvements" | |
| 193 | + | |
| 194 | +```` | |
| 195 | + | |
| 196 | +```bash CI/CD Integration | |
| 197 | +# In your pipeline scripts | |
| 198 | +cn -p "Analyze test failures and suggest fixes" | |
| 199 | + | |
| 200 | +# Automated documentation updates | |
| 201 | +cn -p "@README.md Update this documentation based on recent changes" | |
| 202 | +```` | |
| 203 | + | |
| 204 | +```bash Issue Management | |
| 205 | +# Create GitHub issues from PostHog data | |
| 206 | +cn -p "@posthog-data.json Create GitHub issues for UX problems found in this session data" | |
| 207 | + | |
| 208 | +# Automated security audits | |
| 209 | +cn -p "Scan the codebase for potential security vulnerabilities" | |
| 210 | +``` | |
| 211 | + | |
| 212 | +</CodeGroup> | |
| 213 | + | |
| 214 | +## Next steps | |
| 215 | + | |
| 216 | +<CardGroup cols={3}> | |
| 217 | + <Card title="CLI Quickstart" href="/cli/quick-start"> | |
| 218 | + Learn basic commands and common workflows | |
| 219 | + </Card> | |
| 220 | + | |
| 221 | +<Card title="Installation Guide" href="/cli/install"> | |
| 222 | + Install Continue CLI and set up your environment | |
| 223 | +</Card> | |
| 224 | + | |
| 225 | + <Card title="CLI Workflows" href="/guides/overview#continuous-ai"> | |
| 226 | + Task-specific tutorials and examples | |
| 227 | + </Card> | |
| 228 | +</CardGroup> |
added docs/cli/quick-start.mdx +176 −0
| @@ -0,0 +1,176 @@ | ||
| 1 | +--- | |
| 2 | +title: "Continue CLI Quick Start" | |
| 3 | +description: "Get hands-on experience with Continue CLI through practical examples and common use cases" | |
| 4 | +sidebarTitle: "Quick Start" | |
| 5 | +--- | |
| 6 | + | |
| 7 | +Get hands-on experience with Continue CLI through practical development workflows. | |
| 8 | + | |
| 9 | +<Tabs> | |
| 10 | + <Tab title="TUI Mode"> | |
| 11 | + TUI Mode (`cn` command) is for **large development tasks** that require | |
| 12 | + agentic workflows with human oversight. Perfect for complex refactors, | |
| 13 | + feature implementation, or one-off automation tasks that need monitoring and | |
| 14 | + iteration. | |
| 15 | + </Tab> | |
| 16 | + <Tab title="Headless Mode"> | |
| 17 | + Headless Mode (`-p` flag) is for **reliable, repeatable tasks** that no | |
| 18 | + longer need constant supervision. Perfect for CI/CD pipelines, git hooks, | |
| 19 | + and automated workflows you've already tested and refined. | |
| 20 | + </Tab> | |
| 21 | +</Tabs> | |
| 22 | + | |
| 23 | +## TUI Mode: Large Development Tasks | |
| 24 | + | |
| 25 | +Make sure you have [Continue CLI installed](/cli/install) and are in a project directory. | |
| 26 | + | |
| 27 | +### Example: Implementing a New Feature | |
| 28 | + | |
| 29 | +```bash | |
| 30 | +# Navigate to your project directory | |
| 31 | +cd your-awesome-project | |
| 32 | + | |
| 33 | +# Start TUI Mode for complex development work | |
| 34 | +cn | |
| 35 | +``` | |
| 36 | + | |
| 37 | +**Example workflow for adding authentication:** | |
| 38 | + | |
| 39 | +``` | |
| 40 | +> I need to add JWT authentication to this Express app. Let me start by showing you the current structure. | |
| 41 | + | |
| 42 | +> @src/app.js @package.json Here's my current setup. Can you implement JWT auth with middleware, login/register routes, and user model? | |
| 43 | + | |
| 44 | +> [Agent analyzes codebase and implements auth system] | |
| 45 | +> [You review changes, test, and provide feedback] | |
| 46 | +> [Agent iterates based on your input until the feature is complete] | |
| 47 | +``` | |
| 48 | + | |
| 49 | +### Example: Complex Refactoring | |
| 50 | + | |
| 51 | +```bash | |
| 52 | +cn | |
| 53 | +``` | |
| 54 | + | |
| 55 | +**Refactoring a monolithic component:** | |
| 56 | + | |
| 57 | +``` | |
| 58 | +> @src/components/Dashboard.jsx This component is 800 lines and does too much. Help me break it into smaller, reusable components. | |
| 59 | + | |
| 60 | +> [Agent analyzes component structure] | |
| 61 | +> [Proposes component breakdown strategy] | |
| 62 | +> [You approve approach] | |
| 63 | +> [Agent implements the refactor with proper props and state management] | |
| 64 | +> [You test and request adjustments] | |
| 65 | +``` | |
| 66 | + | |
| 67 | +### When to Use TUI Mode | |
| 68 | + | |
| 69 | +✅ **Large development tasks** that need oversight | |
| 70 | +✅ **Complex refactors** requiring multiple steps | |
| 71 | +✅ **New feature implementation** with unknowns | |
| 72 | +✅ **One-off automation tasks** you haven't done before | |
| 73 | +✅ **Debugging complex issues** that need exploration | |
| 74 | + | |
| 75 | +## Headless Mode: Automated Workflows | |
| 76 | + | |
| 77 | +Once you've refined a workflow in TUI Mode, convert it to Continuous AI for automation. | |
| 78 | + | |
| 79 | +### Example: From REPL → Continuous AI | |
| 80 | + | |
| 81 | +**Step 1: Develop in TUI Mode** | |
| 82 | + | |
| 83 | +```bash | |
| 84 | +cn | |
| 85 | +> @package.json @CHANGELOG.md Generate release notes for version 2.1.0 | |
| 86 | +> [Test and refine the prompt until it works perfectly] | |
| 87 | +``` | |
| 88 | + | |
| 89 | +**Step 2: Convert to Continuous AI** | |
| 90 | + | |
| 91 | +```bash | |
| 92 | +# Now use the refined workflow in automation | |
| 93 | +cn -p "Generate release notes for the current version based on package.json and recent commits" | |
| 94 | +``` | |
| 95 | + | |
| 96 | +### Common Continuous AI Workflows | |
| 97 | + | |
| 98 | +```bash | |
| 99 | +# Git automation | |
| 100 | +cn -p "Generate a conventional commit message for staged changes" | |
| 101 | +cn -p "Review the last 3 commits for potential issues" | |
| 102 | + | |
| 103 | +# Code quality | |
| 104 | +cn -p "Fix all TypeScript errors in the src/ directory" | |
| 105 | +cn -p "Update outdated dependencies and fix breaking changes" | |
| 106 | + | |
| 107 | +# Documentation | |
| 108 | +cn -p "@README.md Update documentation based on recent changes" | |
| 109 | +cn -p "Generate API documentation from JSDoc comments" | |
| 110 | + | |
| 111 | +# CI/CD integration | |
| 112 | +cn -p "Analyze test failures and create GitHub issue with findings" | |
| 113 | +cn -p "Update version numbers and create release branch" | |
| 114 | +``` | |
| 115 | + | |
| 116 | +### When to Use Headless Mode | |
| 117 | + | |
| 118 | +✅ **Proven workflows** you've tested in TUI Mode | |
| 119 | +✅ **Repetitive tasks** that no longer need oversight | |
| 120 | +✅ **CI/CD automation** in pipelines | |
| 121 | +✅ **Git hooks** for automated checks | |
| 122 | +✅ **Scheduled tasks** that run unattended | |
| 123 | + | |
| 124 | +### Available Slash Commands | |
| 125 | + | |
| 126 | +Common slash commands available in CLI: | |
| 127 | + | |
| 128 | +- `/clear` - Clear the chat history | |
| 129 | +- `/compact` - Summarize chat history into a compact form | |
| 130 | +- `/config` - Switch configuration or organization | |
| 131 | +- `/exit` - Exit the chat | |
| 132 | +- `/fork` - Start a forked chat session from the current history | |
| 133 | +- `/help` - Show help message | |
| 134 | +- `/info` - Show session information | |
| 135 | +- `/init` - Create an AGENTS.md file | |
| 136 | +- `/login` - Authenticate with your account | |
| 137 | +- `/logout` - Sign out of your current session | |
| 138 | +- `/mcp` - Manage MCP server connections | |
| 139 | +- `/model` - Switch between available chat models | |
| 140 | +- `/resume` - Resume a previous chat session | |
| 141 | +- `/whoami` - Check who you're currently logged in as | |
| 142 | + | |
| 143 | +<Info>Use `/help` to see all available commands.</Info> | |
| 144 | + | |
| 145 | +## The Development Workflow | |
| 146 | + | |
| 147 | +<Info> | |
| 148 | + **Recommended Approach**: Start complex tasks in TUI Mode to iterate and | |
| 149 | + refine your approach. Once you have a reliable workflow, convert it to | |
| 150 | + Headless Mode for automation. | |
| 151 | +</Info> | |
| 152 | + | |
| 153 | +### Workflow Pattern | |
| 154 | + | |
| 155 | +1. **🔬 Experiment in TUI Mode** | |
| 156 | + | |
| 157 | + - Try complex development tasks with human oversight | |
| 158 | + - Iterate on prompts and approaches until they work reliably | |
| 159 | + - Test edge cases and refine the agent's behavior | |
| 160 | + | |
| 161 | +2. **⚡ Automate with Continuous AI** | |
| 162 | + - Convert proven REPL workflows to single commands | |
| 163 | + - Deploy in CI/CD, git hooks, or scheduled tasks | |
| 164 | + - Run with confidence knowing the approach is tested | |
| 165 | + | |
| 166 | +## Next Steps | |
| 167 | + | |
| 168 | +<CardGroup cols={2}> | |
| 169 | + <Card title="Create Your First Workflow" href="/guides/posthog-github-continuous-ai"> | |
| 170 | + Build an automated PostHog to GitHub issues workflow | |
| 171 | + </Card> | |
| 172 | + | |
| 173 | + <Card title="Continuous AI Guide" href="/guides/continuous-ai"> | |
| 174 | + Learn to build and deploy AI-powered development workflows | |
| 175 | + </Card> | |
| 176 | +</CardGroup> |
modified docs/docs.json +5 −0
| @@ -23,6 +23,11 @@ | ||
| 23 | 23 | "getting-started/quick-start" |
| 24 | 24 | ] |
| 25 | 25 | }, |
| 26 | + { | |
| 27 | + "group": "CLI", | |
| 28 | + "icon": "terminal", | |
| 29 | + "pages": ["cli/overview", "cli/install", "cli/quick-start"] | |
| 30 | + }, | |
| 26 | 31 | { |
| 27 | 32 | "group": "Features", |
| 28 | 33 | "icon": "star", |
modified docs/images/cn-demo.gif +0 −0
Not shown: the file is larger than the hub shows, or this page holds as much as it shows. View the file.
modified docs/index.mdx +117 −24
| @@ -1,55 +1,148 @@ | ||
| 1 | 1 | --- |
| 2 | -title: "Introduction" | |
| 2 | +title: "Welcome to Continue" | |
| 3 | 3 | icon: book-open |
| 4 | -description: "Continue is an open source platform for building AI-powered coding assistants with customizable components for chat, autocomplete, edit, and agent workflows in VS Code and JetBrains IDEs" | |
| 4 | +description: "Practice Continuous AI with an open-source CLI, open-source IDE extensions, and a Hub for custom AI coding agents" | |
| 5 | 5 | --- |
| 6 | 6 | |
| 7 | 7 | <Frame> |
| 8 | 8 | <img src="/images/intro-0c302b9c15b890c251b1ad04586c880f.png" /> |
| 9 | 9 | </Frame> |
| 10 | 10 | |
| 11 | -**Continue enables developers to ship faster with Continuous AI.** | |
| 11 | +<Note> | |
| 12 | + **Build faster with AI across your IDE, terminal, and CI/CD pipelines with | |
| 13 | + Continue.** | |
| 14 | +</Note> | |
| 12 | 15 | |
| 13 | -**You can use Continue to build and run custom agents across your IDE, terminal, and CI.** | |
| 16 | +## Continue CLI | |
| 14 | 17 | |
| 15 | -1. Get started with Continue in [VS Code](https://marketplace.visualstudio.com/items?itemName=Continue.continue) or [JetBrains](https://plugins.jetbrains.com/plugin/22707-continue-extension) extensions | |
| 18 | +<Info>Terminal-native AI coding assistance with TUI and headless modes.</Info> | |
| 16 | 19 | |
| 17 | -2. Try out [Continue CLI (cn)](https://docs.continue.dev/guides/cli) and give us feedback | |
| 20 | +<CodeGroup> | |
| 18 | 21 | |
| 19 | -3. Discover models, rules, and MCP tools on [Continue Hub](https://hub.continue.dev/) | |
| 22 | + ```bash npm | |
| 23 | + npm install -g @continuedev/cli | |
| 24 | + ``` | |
| 25 | + | |
| 26 | + ```bash yarn | |
| 27 | + yarn global add @continuedev/cli | |
| 28 | + ``` | |
| 29 | + | |
| 30 | + ```bash pnpm | |
| 31 | + pnpm add -g @continuedev/cli | |
| 32 | + ``` | |
| 33 | + | |
| 34 | +</CodeGroup> | |
| 20 | 35 | |
| 21 | 36 | <CardGroup cols={2}> |
| 22 | 37 | <Card |
| 23 | - title="Agent" | |
| 24 | - icon="robot" | |
| 25 | - href="/features/agent/quick-start" | |
| 26 | - horizontal | |
| 38 | + title="TUI Mode" | |
| 39 | + icon="terminal" | |
| 40 | + href="/cli/overview#tui-mode%3A-interactive-development" | |
| 27 | 41 | > |
| 28 | - to work on development tasks together with AI | |
| 42 | + Interactive terminal interface for development workflows | |
| 43 | + <br /> | |
| 44 | + <sub>• Automate builds & refactoring</sub> | |
| 45 | + <br /> | |
| 46 | + <sub>• Pre-commit hooks & scripted fixes</sub> | |
| 47 | + <br /> | |
| 48 | + <sub>• Terminal-first development</sub> | |
| 29 | 49 | </Card> |
| 30 | 50 | <Card |
| 31 | - title="Chat" | |
| 32 | - icon="messages" | |
| 33 | - href="/features/chat/quick-start" | |
| 34 | - horizontal | |
| 51 | + title="Headless Mode" | |
| 52 | + icon="server" | |
| 53 | + href="/cli/overview#headless-mode%3A-production-automation" | |
| 54 | + > | |
| 55 | + Automated AI coding for CI/CD and server environments | |
| 56 | + <br /> | |
| 57 | + <sub>• Run in CI/CD pipelines</sub> | |
| 58 | + <br /> | |
| 59 | + <sub>• Batch processing & bulk operations</sub> | |
| 60 | + <br /> | |
| 61 | + <sub>• Server & container deployments</sub> | |
| 62 | + </Card> | |
| 63 | +</CardGroup> | |
| 64 | + | |
| 65 | +## IDE Extensions | |
| 66 | + | |
| 67 | +<Info> | |
| 68 | + **Complement your CLI workflow** - Rich editor integrations for interactive | |
| 69 | + development. | |
| 70 | +</Info> | |
| 71 | + | |
| 72 | +<CardGroup cols={2}> | |
| 73 | + <Card | |
| 74 | + title="VS Code" | |
| 75 | + icon="code" | |
| 76 | + href="https://marketplace.visualstudio.com/items?itemName=Continue.continue" | |
| 35 | 77 | > |
| 36 | - to ask general questions and clarify code sections | |
| 78 | + Install from VS Code Marketplace | |
| 79 | + <br /> | |
| 80 | + <sub>Real-time coding assistance and refactoring</sub> | |
| 37 | 81 | </Card> |
| 38 | 82 | <Card |
| 39 | - title="Edit" | |
| 40 | - icon="pen-to-square" | |
| 41 | - href="/features/edit/quick-start" | |
| 42 | - horizontal | |
| 83 | + title="JetBrains" | |
| 84 | + icon="jet-fighter" | |
| 85 | + href="https://plugins.jetbrains.com/plugin/22707-continue-extension" | |
| 43 | 86 | > |
| 44 | - to modify a code section without leaving your current file | |
| 87 | + Install from JetBrains Plugin Repository | |
| 88 | + <br /> | |
| 89 | + <sub>Autocomplete and multi-file edits</sub> | |
| 90 | + </Card> | |
| 91 | +</CardGroup> | |
| 92 | + | |
| 93 | +## Core Features | |
| 94 | + | |
| 95 | +<CardGroup cols={2}> | |
| 96 | + <Card title="Agent" icon="robot" href="/features/agent/quick-start"> | |
| 97 | + Multi-step workflows and complex task automation | |
| 98 | + </Card> | |
| 99 | + <Card title="Chat" icon="messages" href="/features/chat/quick-start"> | |
| 100 | + Ask questions and explore your codebase | |
| 101 | + </Card> | |
| 102 | + <Card title="Edit" icon="pen-to-square" href="/features/edit/quick-start"> | |
| 103 | + In-place code editing without breaking flow | |
| 45 | 104 | </Card> |
| 46 | 105 | <Card |
| 47 | 106 | title="Autocomplete" |
| 48 | 107 | icon="sparkles" |
| 49 | 108 | href="/features/autocomplete/quick-start" |
| 50 | - horizontal | |
| 51 | 109 | > |
| 52 | - to receive inline code suggestions as you type | |
| 110 | + Inline AI suggestions as you type | |
| 111 | + </Card> | |
| 112 | +</CardGroup> | |
| 113 | + | |
| 114 | +## Configuration | |
| 115 | + | |
| 116 | +<CardGroup cols={3}> | |
| 117 | + <Card title="Models" icon="brain" href="/customization/models"> | |
| 118 | + Connect your preferred AI models | |
| 119 | + </Card> | |
| 120 | + <Card title="Rules" icon="shield" href="/customization/rules"> | |
| 121 | + Configure AI behavior and constraints | |
| 122 | + </Card> | |
| 123 | + <Card title="MCPs" icon="wrench" href="/customization/mcp-tools"> | |
| 124 | + Extend functionality with MCP tools | |
| 53 | 125 | </Card> |
| 126 | +</CardGroup> | |
| 54 | 127 | |
| 128 | +## Resources | |
| 129 | + | |
| 130 | +<CardGroup cols={3}> | |
| 131 | + <Card title="Continue Hub" icon="globe" href="https://hub.continue.dev/"> | |
| 132 | + Community models, rules, and tools | |
| 133 | + </Card> | |
| 134 | + <Card | |
| 135 | + title="GitHub Discussions" | |
| 136 | + icon="comments" | |
| 137 | + href="https://github.com/continuedev/continue/discussions" | |
| 138 | + > | |
| 139 | + Get help from the community | |
| 140 | + </Card> | |
| 141 | + <Card | |
| 142 | + title="CLI Examples" | |
| 143 | + icon="code-branch" | |
| 144 | + href="/guides/overview#continuous-ai" | |
| 145 | + > | |
| 146 | + TUI and headless workflow examples | |
| 147 | + </Card> | |
| 55 | 148 | </CardGroup> |