Best CLI & terminal coding agents

Ship from the terminal: agentic CLIs that edit your repo, run commands, and commit. Last updated 2026-10-19.

  1. 1

    Claude Code

    Coding agents ★ 152k

    Best-in-class terminal agent for multi-file changes on real repos.

    97.2
  2. 2

    OpenAI Codex

    Coding agents ★ 130k

    Open-source CLI and cloud agent that can work through tasks in parallel.

    93.1
  3. 3

    OpenCode

    Coding agents ★ 217k

    Hugely popular open-source, model-agnostic agent with a scriptable API and SDK.

    86.3
  4. 4

    Aider

    Coding agents ★ 50k

    Lean, git-native terminal agent that works with many models.

    80.7

FAQ

What is the best tool for CLI and terminal coding agents?

Our current #1 pick is Claude Code (score 97.2). Best-in-class terminal agent for multi-file changes on real repos.

How are these tools ranked?

Each tool gets an editor's score out of 100 for usefulness to builders, plus a bonus of up to 5 points from GitHub stars for open-source tools. See the About page for details.

Are any of these placements paid?

No. None of the tools on this page are sponsored.

Why use a CLI coding agent instead of an IDE?

CLI agents work in any editor or over SSH, pair naturally with git, and often cost less or run open-source. They're the default for many builders who live in the terminal.

Which CLI coding agent should I try first?

If you want a polished Anthropic-native loop, start with Claude Code. For open-source and bring-your-own-model, try OpenCode or Aider.

Other use cases