Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

Cmd2

Framework for building feature-rich interactive command-line applications.

Dev workflow and configPYPI

1. License

License from PyPI license expression.

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What Cmd2 does

Framework for building feature-rich interactive command-line applications.

Cmd2 popularity

36 / 100
Gid Score, #3584 overall
388K
downloads a week, pypi
1
agent projects use it
Cmd2: downloads per weekPyPI, cmd2 375,990

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How Cmd2 is used

  • Cmd2 joined the catalog on its public numbers (387,958 downloads a week on PyPI), not on our project count: it is a dependency in 7 public GitHub projects of our scan, 1 of them set up for AI coding agents.
  • The most used alternative in our scan is Click (154 projects).
  • Projects that use it most often also use Beautiful Soup (100.0%), Jinja2 (100.0%), lxml (100.0%).

Often used with

In 100.0% of its projects
In 100.0% of its projects
In 100.0% of its projects
In 100.0% of its projects
In 85.7% of its projects
In 85.7% of its projects
In 85.7% of its projects

More about Cmd2

More in Dev workflow and config

Alternatives

Cmd2 This page

MITGid 36388K/wk

Click

Python package for composing command-line interfaces with decorators.

BSD-3-ClauseGid 82268M/wk

Typer

Framework for building CLI applications using Python type hints.

MITGid 7974.7M/wk

Compare Cmd2 with another tool

Get started

Install it.

pip install cmd2

No step-by-step start for Cmd2 yet: we have not written its hand-checked card.