Make sure you have Node.js 18 or higher installed.

Installation

Install Continue CLI globally using npm:
npm i -g @continuedev/cli

Two Ways to Use Continue CLI

Quick Overview: Continue CLI works in two modes - TUI for interactive conversations or headless for automated commands.
Interactive development sessionsStart a conversation with AI in your terminal:
cn
> @src/app.js Generate unit tests for this component
Perfect for exploration, debugging, and iterative development.

Setup

For interactive development and exploration:
1

Login to Continue CLI

cn login
This will open your browser to authenticate with Continue Hub.
2

Test TUI Mode

Start an interactive session:
cn
Try asking a question:
> Tell me about the CLI

What’s Next?

Getting Help

If you encounter issues: