# Cobra vs Typer

| Attribute | Cobra | Typer |
|---|---|---|
| **Vioscale score** | 47.1 (24% (low)) | 62.4 (20% (low)) |
| activity.commits_last_30d | 0 | 29 |
| adoption.dependent_repos | 109,476 | 9,797 |
| adoption.github_stars | 44,513 | 19,929 |
| deployment.options | `{"self_hosted":true}` | - |
| description.long | An open-source CLI framework that enables developers to build production-grade command-line applications with sophisticated command architecture, intelligent flag parsing, and enterprise features built-in. Battle-tested by over 173,000 projects including Kubernetes, Docker, and GitHub CLI. | A Python library that lets developers build intuitive command-line interfaces using type hints, with automatic help generation and shell completion. Includes a CLI tool to convert regular Python scripts into full-featured command-line applications. |
| language.primary | Go | Python |
| license.spdx | Apache-2.0 | MIT |
| market.availability | `{"hqCountry":"US","primaryMarkets":[],"availabilityScope":"global","availableCountries":[],"notAvailableCountries":[]}` | `{"primaryMarkets":[],"availabilityScope":"global","availableCountries":[],"notAvailableCountries":[]}` |
| platform.support | `{"cli":true}` | `{"cli":true,"mac":true,"linux":true,"windows":true}` |
| pricing | `{"type":"open_source","freeTier":true,"sourceUrl":"https://cobra.dev","retrievedAt":"2026-08-18T12:52:23.169Z"}` | `{"type":"open_source","summary":"Free and open source","freeTier":true,"sourceUrl":"https://typer.tiangolo.com","retrievedAt":"2026-08-18T12:48:51.400Z"}` |
| pricing.free_tier | yes | yes |
| pricing.model | commercial | commercial |
| pricing.price_level | free | free |
| release.cadence_days | 112 | 1 |
| release.history | `[{"url":"https://github.com/spf13/cobra/releases/tag/v1.10.2","date":"2025-12-04T00:07:49Z","type":"stable","version":"v1.10.2"},{"url":"https://github.com/spf13/cobra/releases/tag/v1.10.1","date":"2025-09-01T16:32:42Z","type":"stable","version":"v1.10.1"},{"url":"https://github.com/spf13/cobra/releases/tag/v1.10.0","date":"2025-09-01T13:39:16Z","type":"stable","version":"v1.10.0"},{"url":"https://github.com/spf13/cobra/releases/tag/v1.9.1","date":"2025-02-16T23:54:10Z","type":"stable","version":"v1.9.1"},{"url":"https://github.com/spf13/cobra/releases/tag/v1.9.0","date":"2025-02-15T18:28:50Z","type":"stable","version":"v1.9.0"},{"url":"https://github.com/spf13/cobra/releases/tag/v1.8.1","date":"2024-06-14T20:55:24Z","type":"stable","version":"v1.8.1"},{"url":"https://github.com/spf13/cobra/releases/tag/v1.8.0","date":"2023-11-04T21:06:08Z","type":"stable","version":"v1.8.0"},{"url":"https://github.com/spf13/cobra/releases/tag/v1.7.0","date":"2023-04-04T14:43:58Z","type":"stable","version":"v1.7.0"},{"url":"https://github.com/spf13/cobra/releases/tag/v1.6.1","date":"2022-10-24T23:03:01Z","type":"stable","version":"v1.6.1"},{"url":"https://github.com/spf13/cobra/releases/tag/v1.6.0","date":"2022-10-11T15:37:05Z","type":"stable","version":"v1.6.0"},{"url":"https://github.com/spf13/cobra/releases/tag/v1.5.0","date":"2022-06-21T02:37:06Z","type":"stable","version":"v1.5.0"},{"url":"https://github.com/spf13/cobra/releases/tag/v1.4.0","date":"2022-03-10T15:57:43Z","type":"stable","version":"v1.4.0"},{"url":"https://github.com/spf13/cobra/releases/tag/v1.3.0","date":"2021-12-14T19:05:30Z","type":"stable","version":"v1.3.0"},{"url":"https://github.com/spf13/cobra/releases/tag/v1.2.1","date":"2021-07-02T15:28:26Z","type":"stable","version":"v1.2.1"},{"url":"https://github.com/spf13/cobra/releases/tag/v1.2.0","date":"2021-07-01T17:41:14Z","type":"stable","version":"v1.2.0"},{"url":"https://github.com/spf13/cobra/releases/tag/v1.1.3","date":"2021-02-10T19:42:35Z","type":"stable","version":"v1.1.3"},{"url":"https://github.com/spf13/cobra/releases/tag/v1.1.2","date":"2021-02-10T01:41:19Z","type":"stable","version":"v1.1.2"},{"url":"https://github.com/spf13/cobra/releases/tag/v1.1.1","date":"2020-10-18T19:13:12Z","type":"stable","version":"v1.1.1"},{"url":"https://github.com/spf13/cobra/releases/tag/v1.1.0","date":"2020-10-14T16:44:02Z","type":"stable","version":"v1.1.0"},{"url":"https://github.com/spf13/cobra/releases/tag/v1.0.0","date":"2020-04-10T20:15:52Z","type":"stable","version":"v1.0.0"}]` | `[{"url":"https://github.com/fastapi/typer/releases/tag/0.27.1","date":"2026-08-03T14:40:44Z","type":"stable","version":"0.27.1"},{"url":"https://github.com/fastapi/typer/releases/tag/0.27.0","date":"2026-07-15T19:20:51Z","type":"stable","version":"0.27.0"},{"url":"https://github.com/fastapi/typer/releases/tag/0.26.8","date":"2026-06-26T09:22:31Z","type":"stable","version":"0.26.8"},{"url":"https://github.com/fastapi/typer/releases/tag/0.26.7","date":"2026-06-03T07:17:53Z","type":"stable","version":"0.26.7"},{"url":"https://github.com/fastapi/typer/releases/tag/0.26.6","date":"2026-06-02T13:47:34Z","type":"stable","version":"0.26.6"},{"url":"https://github.com/fastapi/typer/releases/tag/0.26.5","date":"2026-06-01T14:42:28Z","type":"stable","version":"0.26.5"},{"url":"https://github.com/fastapi/typer/releases/tag/0.26.4","date":"2026-05-30T17:04:49Z","type":"stable","version":"0.26.4"},{"url":"https://github.com/fastapi/typer/releases/tag/0.26.3","date":"2026-05-28T20:30:36Z","type":"stable","version":"0.26.3"},{"url":"https://github.com/fastapi/typer/releases/tag/0.26.2","date":"2026-05-27T10:41:26Z","type":"stable","version":"0.26.2"},{"url":"https://github.com/fastapi/typer/releases/tag/0.26.1","date":"2026-05-26T17:48:56Z","type":"stable","version":"0.26.1"},{"url":"https://github.com/fastapi/typer/releases/tag/0.26.0","date":"2026-05-26T14:36:49Z","type":"stable","version":"0.26.0"},{"url":"https://github.com/fastapi/typer/releases/tag/0.25.1","date":"2026-04-30T19:31:57Z","type":"stable","version":"0.25.1"},{"url":"https://github.com/fastapi/typer/releases/tag/0.25.0","date":"2026-04-26T08:46:02Z","type":"stable","version":"0.25.0"},{"url":"https://github.com/fastapi/typer/releases/tag/0.24.2","date":"2026-04-22T17:45:20Z","type":"stable","version":"0.24.2"},{"url":"https://github.com/fastapi/typer/releases/tag/0.24.1","date":"2026-02-21T16:54:24Z","type":"stable","version":"0.24.1"},{"url":"https://github.com/fastapi/typer/releases/tag/0.24.0","date":"2026-02-16T22:08:36Z","type":"stable","version":"0.24.0"},{"url":"https://github.com/fastapi/typer/releases/tag/0.23.2","date":"2026-02-16T18:51:29Z","type":"stable","version":"0.23.2"},{"url":"https://github.com/fastapi/typer/releases/tag/0.23.1","date":"2026-02-13T10:04:15Z","type":"stable","version":"0.23.1"},{"url":"https://github.com/fastapi/typer/releases/tag/0.23.0","date":"2026-02-11T15:22:01Z","type":"stable","version":"0.23.0"},{"url":"https://github.com/fastapi/typer/releases/tag/0.22.0","date":"2026-02-11T11:00:01Z","type":"stable","version":"0.22.0"}]` |
| security.scorecard | 6.2 | - |
| security.vulnerabilities | `{"count":0,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=go&package_name=github.com%2Fspf13%2Fcobra&per_page=100","last_12m":0,"max_severity":null}` | `{"count":0,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=pypi&package_name=typer&per_page=100","last_12m":0,"max_severity":null}` |

## Capabilities (CLI Frameworks)

| Capability | Cobra | Typer |
|---|:--:|:--:|
| **Capabilities** |  |  |
| Language | - | - |
| Design style | - | - |
| Nested subcommands | - | - |
| Auto generated help | - | - |
| Plugin system | - | - |
| Interactive prompts | - | - |
| Type validation | - | - |
| Styled rich output | - | - |
| Project scaffolding | - | - |
| Test harness | - | - |
| Open source | - | - |
| License | - | - |

*Source: Vioscale. Generated 2026-09-01T17:06:27.536Z. "-" = undocumented, not absent.*
