Qoder CN CLI

Updated at:

Qoder CN CLI is a terminal-based AI programming assistant. Use natural language to write code, manage files, and run commands from the command line.

Important

The new Qoder CN documentation site is now available. Content on this site may not reflect the latest product features and changes. Visit docs.qoder.cn for the latest product documentation.

Overview

Qoder CN CLI integrates AI into your terminal workflow, so you can describe tasks in natural language, manage projects, and handle other programming tasks without switching tools.

Key capabilities:

  • Code understanding and generation: Understands project context to generate high-quality code.

  • File operations: Creates, edits, and searches for files and directories.

  • Command execution: Runs terminal commands and interprets the output.

  • MCP integration: Connects to external tools and services through the Model Context Protocol.

  • Skills: Customizes and extends AI capabilities.

  • Multiple run modes: Interactive TUI (terminal UI), Print, MCP service modes, and more.

Use cases

  • Daily development: Write feature code, fix bugs, and refactor code.

  • Project bootstrapping: Set up project structures and boilerplate code.

  • Code review: Analyze code quality and identify potential issues.

  • Documentation generation: Automatically generate code comments and project documentation.

  • CI/CD integration: Integrates with CI/CD workflows, such as GitHub Actions, using the Qoder CN Action.

  • Remote development: Develop on headless servers with AI assistance through Remote Control.

Run modes

Mode

Description

Command

TUI mode

Default mode with a full-screen interactive interface.

qoderclicn

Print mode

Non-interactive mode that runs a single task and prints the result.

qoderclicn -p "prompt"

MCP service mode

Runs as an MCP server for use by other clients.

qoderclicn mcp serve

Integrations and extensions

Qoder CN CLI supports these integrations:

  • ACP (Agent Client Protocol): Connects to editors that support ACP, such as Zed IDE.

  • Remote Control: Headless and remote operation through daemon mode.

  • Subagent: Creates and manages dedicated subagents to handle specific tasks.