diff --git a/docs/agents/overview.mdx b/docs/agents/overview.mdx index 8a51d9cc8..72c938a95 100644 --- a/docs/agents/overview.mdx +++ b/docs/agents/overview.mdx @@ -258,7 +258,7 @@ The practice of using cloud agents, which we call Continuous AI, requires foreth Browse pre-built agents for security, analytics, and more - + Learn to run agents from the command line diff --git a/docs/cli/install.mdx b/docs/cli/install.mdx deleted file mode 100644 index 0204cbde6..000000000 --- a/docs/cli/install.mdx +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: "Install" ---- - -import { OSAutoDetect } from '/snippets/OSAutoDetect.jsx' -import CLIInstall from '/snippets/cli-install.mdx' - - - - - -Verify the installation: - -```bash -cn --version -``` - -## Authentication - -### Log in with Continue - -```bash -cn login -``` - -This opens your browser to authenticate with [Continue](https://continue.dev). Once authenticated, `cn` can use your configured assistants, models, and MCP servers from the platform. - -### API key (headless / CI) - -For automation environments where there's no browser, set the `CONTINUE_API_KEY` environment variable: - -```bash -export CONTINUE_API_KEY=your-key-here -cn -p "your prompt" -``` - -Get an API key from [Continue → Settings → API Keys](https://continue.dev/settings/api-keys). - -### Local API key - -If you don't want to use Continue, you can use an Anthropic API key directly. On first launch, `cn` will prompt you to choose between logging in with Continue or entering an Anthropic API key. - -## Requirements - -- **Node.js 20+** — needed for the npm install path. The shell installer bundles its own runtime. -- A [Continue](https://continue.dev) account, or an Anthropic API key. diff --git a/docs/cli/overview.mdx b/docs/cli/quickstart.mdx similarity index 64% rename from docs/cli/overview.mdx rename to docs/cli/quickstart.mdx index 4db3796b6..eb50da8c9 100644 --- a/docs/cli/overview.mdx +++ b/docs/cli/quickstart.mdx @@ -1,5 +1,5 @@ --- -title: "Overview" +title: "Quickstart" --- import { OSAutoDetect } from '/snippets/OSAutoDetect.jsx' @@ -17,6 +17,17 @@ Continue CLI (`cn`) is a terminal-based coding agent. It can edit files, run com +Verify the installation: + +```bash +cn --version +``` + +### Requirements + +- **Node.js 20+** — needed for the npm install path. The shell installer bundles its own runtime. +- A [Continue](https://continue.dev) account, or an Anthropic API key. + ## First run ```bash @@ -26,6 +37,31 @@ cn On first launch you'll be asked to log in with [Continue](https://continue.dev) or enter an Anthropic API key. After that, you're in a session and can start typing. +## Authentication + +### Log in with Continue + +```bash +cn login +``` + +This opens your browser to authenticate with [Continue](https://continue.dev). Once authenticated, `cn` can use your configured assistants, models, and MCP servers from the platform. + +### API key (headless / CI) + +For automation environments where there's no browser, set the `CONTINUE_API_KEY` environment variable: + +```bash +export CONTINUE_API_KEY=your-key-here +cn -p "your prompt" +``` + +Get an API key from [Continue → Settings → API Keys](https://continue.dev/settings/api-keys). + +### Local API key + +If you don't want to use Continue, you can use an Anthropic API key directly. On first launch, `cn` will prompt you to choose between logging in with Continue or entering an Anthropic API key. + ## Two modes **[TUI mode](/cli/tui-mode)** — run `cn` to start an interactive session. You type messages, reference files with `@`, approve tool calls, and iterate with the agent. This is the default. diff --git a/docs/customize/model-providers/more/asksage.mdx b/docs/customize/model-providers/more/asksage.mdx index b7ef3a8ae..2dee19899 100644 --- a/docs/customize/model-providers/more/asksage.mdx +++ b/docs/customize/model-providers/more/asksage.mdx @@ -132,7 +132,7 @@ Supported features: ## Setting up Continue CLI 1. Install Continue CLI -Follow the steps from the [official Continue docs](https://docs.continue.dev/cli/install). +Follow the steps from the [official Continue docs](https://docs.continue.dev/cli/quickstart). 2. Setting up a custom config for Ask Sage Follow the steps in step 2 of the Overview above 👆. diff --git a/docs/docs.json b/docs/docs.json index 1374083c4..3b6fceb54 100644 --- a/docs/docs.json +++ b/docs/docs.json @@ -45,8 +45,7 @@ "group": "CLI", "icon": "terminal", "pages": [ - "cli/overview", - "cli/install", + "cli/quickstart", "cli/tui-mode", "cli/headless-mode", "cli/configuration", @@ -327,6 +326,14 @@ "js": ["reo-tracking.js"] }, "redirects": [ + { + "source": "/cli/overview", + "destination": "/cli/quickstart" + }, + { + "source": "/cli/install", + "destination": "/cli/quickstart" + }, { "source": "/changelog", "destination": "https://changelog.continue.dev" diff --git a/docs/guides/cloud-agents/guide-to-cloud-agents.mdx b/docs/guides/cloud-agents/guide-to-cloud-agents.mdx index aacf8aefa..3c263ef30 100644 --- a/docs/guides/cloud-agents/guide-to-cloud-agents.mdx +++ b/docs/guides/cloud-agents/guide-to-cloud-agents.mdx @@ -70,7 +70,7 @@ The defining feature of a Cloud Agent isn't just *automation*; it is **availabil ### Human-in-the-Loop Approach - You can trigger agents manually (with Continue, use the [Continue CLI](../../cli/overview) or [Mission Control](../../mission-control)) when you need a one-off task that you want to review. + You can trigger agents manually (with Continue, use the [Continue CLI](../../cli/quickstart) or [Mission Control](../../mission-control)) when you need a one-off task that you want to review. diff --git a/docs/guides/dlt-mcp-continue-cookbook.mdx b/docs/guides/dlt-mcp-continue-cookbook.mdx index 5fed1f5c5..a0e62d7c0 100644 --- a/docs/guides/dlt-mcp-continue-cookbook.mdx +++ b/docs/guides/dlt-mcp-continue-cookbook.mdx @@ -273,7 +273,7 @@ Navigate to **Repository Settings → Secrets and variables → Actions** and ad ### Create Workflow File -This workflow automatically validates your dlt data pipelines on pull requests using the Continue CLI in [headless mode](/cli/overview#headless-mode%3A-production-automation). It inspects pipeline schemas, checks for errors, and posts a summary report as a PR comment. The workflow can also be triggered manually via `workflow_dispatch`. +This workflow automatically validates your dlt data pipelines on pull requests using the Continue CLI in [headless mode](/cli/headless-mode). It inspects pipeline schemas, checks for errors, and posts a summary report as a PR comment. The workflow can also be triggered manually via `workflow_dispatch`. Create `.github/workflows/dlt-pipeline-validation.yml` in your repository: diff --git a/docs/guides/notion-continue-guide.mdx b/docs/guides/notion-continue-guide.mdx index cc5eec951..2e7421125 100644 --- a/docs/guides/notion-continue-guide.mdx +++ b/docs/guides/notion-continue-guide.mdx @@ -30,7 +30,7 @@ This guide teaches you to: Before starting, ensure you have: -- [Continue CLI](https://docs.continue.dev/cli/overview) installed +- [Continue CLI](https://docs.continue.dev/cli/quickstart) installed - A [Notion workspace](https://notion.so) with Editor (or higher) access - Node.js 18+ installed locally - [Continue account](https://continue.dev) with **Hub access** diff --git a/docs/guides/run-agents-locally.mdx b/docs/guides/run-agents-locally.mdx index b5ae2f534..7ffb841b4 100644 --- a/docs/guides/run-agents-locally.mdx +++ b/docs/guides/run-agents-locally.mdx @@ -20,7 +20,7 @@ description: "Set up version-controlled agents in your repository and run them w Before starting, ensure you have: -- [Continue CLI installed](/cli/install) +- [Continue CLI installed](/cli/quickstart) - `ANTHROPIC_API_KEY` environment variable set - [GitHub CLI](https://cli.github.com/) installed locally if your agents interact with GitHub (pre-installed on GitHub-hosted runners) @@ -226,7 +226,7 @@ When running agents in CI/CD, follow the principle of least privilege: --agent .continue/agents/analysis-only.md ``` - Learn more in the [CLI documentation](/cli/overview#how-to-set-tool-permissions). + Learn more in the [CLI documentation](/cli/tool-permissions). @@ -359,7 +359,7 @@ your-repo/ Learn about agent components and capabilities - + Full Continue CLI documentation diff --git a/docs/guides/sanity-mcp-continue-cookbook.mdx b/docs/guides/sanity-mcp-continue-cookbook.mdx index 8a82b2f81..291b8c229 100644 --- a/docs/guides/sanity-mcp-continue-cookbook.mdx +++ b/docs/guides/sanity-mcp-continue-cookbook.mdx @@ -369,7 +369,7 @@ Navigate to **Repository Settings → Secrets and variables → Actions** and ad ### Create Workflow File -This workflow automatically validates your Sanity schemas and content on pull requests using the Continue CLI in [headless mode](/cli/overview#headless-mode%3A-production-automation). It checks schema integrity, validates content relationships, and posts a summary report as a PR comment. +This workflow automatically validates your Sanity schemas and content on pull requests using the Continue CLI in [headless mode](/cli/headless-mode). It checks schema integrity, validates content relationships, and posts a summary report as a PR comment. Create `.github/workflows/sanity-content-validation.yml` in your repository: diff --git a/docs/index.mdx b/docs/index.mdx index bb0a6e4f7..781539aef 100644 --- a/docs/index.mdx +++ b/docs/index.mdx @@ -1,6 +1,6 @@ --- title: "What is Continue?" -description: "Run agents as CI checks on every PR" +description: "Source-controlled AI checks, enforceable in CI" ---