Continue CLI Guide
Continue’s cn terminal agent for interactive coding and headless workflows.
Last verified: · How we verifySuitable workflows
Developers connecting Continue configurations to terminal work and CI scripts.
Limitations and billing
Headless mode excludes tools that require approval unless you explicitly allow them.
Capabilities we verified
This is an evidence-based shortlist, not an exhaustive feature inventory. Omitted capabilities have not been checked for this record.
Pricing & usage
See official pricing
Account configuration or model-provider usage. The cost of metered usage or an external agent can be separate from the subscription.
Check official pricing ↗Models & access
Continue-configured models or a directly supplied Anthropic API key.
Verified families: Claude.
Official model information ↗Install and start the CLI
The shell installer bundles its runtime; the npm installation path requires Node.js 20+.
Installation command · macOS / Linux
curl -fsSL https://raw.githubusercontent.com/continuedev/continue/main/extensions/cli/scripts/install.sh | bashOpen your project folder in a terminal, then run:
cnAccount and authentication
Use cn login for a Continue account, or configure the supported direct API-key path.
Project configuration and tools
Set allow, ask and exclude policies in ~/.continue/permissions.yaml; avoid granting every tool for routine automation.
First task to try
Start with a read-only project summary, then grant only the tools needed for a focused change.
Script usage
This example asks for a project summary. Tool permissions still apply; a prompt is not a sandbox.
cn -p "Summarize the project structure without modifying files." --readonlyRelated CLI tools
All AI CLI tools →Project evaluation checklist
- Open a small, familiar project and confirm that your essential language tooling works.
- Give the agent one bounded change with an observable acceptance criterion.
- Review the diff, run the project’s checks and compare the result with your current workflow.
- Inspect usage after the task. Estimate a month of similar work, including any separate model or agent bill.