Codex CLI leads downloads, Claude Code leads GitHub stars
Codex CLI leads 7-day npm downloads at 27.6M. Claude Code leads GitHub stars at 156,789, with downloads +56.6% vs. 30 days earlier. Gemini CLI trails on both.
Set side by side on the same metrics, Claude Code, Codex CLI and Gemini CLI show that the leading tool depends on the metric. On npm downloads over the last 7 days, Codex CLI has 27.6M, ahead of Claude Code’s 22.2M. On GitHub stars, Claude Code has 156,789, ahead of Codex CLI’s 136,225. Gemini CLI has the fewest downloads and the fewest stars of the 3 tools compared. The recent direction of downloads looks different again. Claude Code’s change from 30 days earlier is +56.6%, higher than Codex CLI’s +6.2%.
npm downloads: Codex CLI leads on volume, Claude Code on growth
View as table
| Rank | Item | Value |
|---|---|---|
| 1 | Codex CLI | 27.6M |
| 2 | Claude Code | 22.2M |
| 3 | Gemini CLI | 565K |
Codex CLI has 27.6M downloads and ranks No. 25 among the 48 AI and developer tools. Claude Code has 22.2M and ranks No. 28. Gemini CLI has 565K and ranks No. 44. The gap between Codex CLI and Claude Code is 5.4M downloads. As a ratio, Codex CLI has about 1.2 times as many downloads as Claude Code. The distance to Gemini CLI is wider: Codex CLI has about 49 times as many downloads.
The overall ranking places AI tools and general developer tools in the same list. Within the AI Coding Tools category, Codex CLI ranks No. 1, Claude Code No. 2 and Gemini CLI No. 5.
The recent trend runs in a different order from volume. Measured against 7 days earlier, Claude Code comes in at +26.5%, followed by Gemini CLI at +21.8% and Codex CLI at +4.5%.
Compared with 30 days earlier, Claude Code is at +56.6%, or +8M downloads in absolute terms. Codex CLI is at +6.2%, or +1.6M downloads. Claude Code, the tool behind, added more over the same period, so the gap between them is smaller than a month earlier. Gemini CLI’s rate of +23.6% is higher than Codex CLI’s, but its base is small, so its absolute change is +107.9K downloads.
359-day trend: Codex CLI started with the fewest downloads
View as table
| Date | Codex CLI | Claude Code | Gemini CLI |
|---|---|---|---|
| 2026-11-22 | 27.6M | 22.2M | 565K |
| 2026-11-15 | 26.4M | 17.5M | 464K |
| 2026-11-08 | 25.9M | 14.2M | 476.7K |
| 2026-11-01 | 27.8M | 12.9M | 445.3K |
| 2026-10-25 | 26.4M | 14M | 456.5K |
| 2026-10-18 | 25.7M | 14.5M | 470.5K |
| 2026-10-11 | 28M | 15M | 484.5K |
| 2026-10-04 | 25.6M | 14.8M | 453.2K |
| 2026-09-27 | 24.2M | 13.3M | 432.8K |
| 2026-09-20 | 22.1M | 14.1M | 422.5K |
| 2026-09-13 | 24.2M | 15M | 425.2K |
| 2026-09-06 | 24.8M | 17.8M | 433.5K |
| 2026-08-30 | 21.3M | 20.7M | 394.5K |
| 2026-08-23 | 16.1M | 22.6M | 383.1K |
| 2026-08-16 | 16.3M | 22.9M | 382.7K |
| 2026-08-09 | 16.3M | 15.1M | 396K |
| 2026-08-02 | 16.9M | 10.4M | 395.4K |
| 2026-07-26 | 14.7M | 10.6M | 524K |
| 2026-07-19 | 16M | 11.5M | 488.1K |
| 2026-07-12 | 12.4M | 10.9M | 468.6K |
| 2026-07-05 | 10.4M | 11M | 406.4K |
| 2026-06-28 | 13.4M | 10.8M | 463.9K |
| 2026-06-21 | 10.9M | 9.9M | 580.8K |
| 2026-06-14 | 9.8M | 11.8M | 692.6K |
| 2026-06-07 | 10.7M | 9.9M | 782.8K |
| 2026-05-31 | 13.6M | 8.7M | 686.4K |
| 2026-05-24 | 9.2M | 8.8M | 664.6K |
| 2026-05-17 | 13M | 7.6M | 744.3K |
| 2026-05-10 | 89.3M | 7.6M | 818.4K |
| 2026-05-03 | 130.5M | 7.7M | 781.3K |
| 2026-04-26 | 5.8M | 11.8M | 854.8K |
| 2026-04-19 | 4.1M | 13.1M | 946K |
| 2026-04-12 | 3.1M | 12.1M | 704K |
| 2026-04-05 | 3.1M | 10.2M | 672K |
| 2026-03-29 | 3.3M | 10.8M | 784.9K |
| 2026-03-22 | 3.7M | 10.2M | 735.9K |
| 2026-03-15 | 3.6M | 9.9M | 730.7K |
| 2026-03-08 | 2.7M | 9.5M | 664.6K |
| 2026-03-01 | 2.1M | 9.3M | 758.7K |
| 2026-02-22 | 1.6M | 7M | 672.5K |
| 2026-02-15 | 1.2M | 6.6M | 663.9K |
| 2026-02-08 | 1M | 7.6M | 651.5K |
| 2026-02-01 | 618.4K | 7.5M | 546.4K |
| 2026-01-25 | 572.3K | 6.9M | 620K |
| 2026-01-18 | 551.6K | 6.7M | 405.1K |
| 2026-01-11 | 471.4K | 5.9M | 379K |
| 2026-01-04 | 318K | 1.8M | 272.4K |
| 2025-12-28 | 361.5K | 2.4M | 325.9K |
| 2025-12-21 | 483.9K | 6M | 435.2K |
| 2025-12-14 | 508.1K | 6M | 381.9K |
| 2025-12-07 | 487.3K | 6.1M | 393.4K |
| 2025-11-30 | 293K | 4.9M | 389.8K |
Codex CLI’s line starts at 306K downloads on the opening day of the series and now stands at 27.6M. Over the whole period the change is +8920.7%, or about 90 times the starting value. The line did not climb steadily, though. It spiked to 130.5M on May 3, 2026, and the current value is below that. Claude Code started at 4.9M and has reached about 4.6 times that level. Gemini CLI peaked at 946K on April 19, 2026 and is now at 565K. Its change over the whole period is +39.4%.
On starting-day values alone, the order was different from today’s. Claude Code had the most at 4.9M, followed by Gemini CLI at 405.2K and Codex CLI at 306K. Codex CLI started with the fewest downloads and now has the most. The data does not show what caused the peaks for Codex CLI and Gemini CLI.
GitHub stars: Claude Code, then Codex CLI, then Gemini CLI
View as table
| Rank | Item | Value |
|---|---|---|
| 1 | Claude Code | 156,789 |
| 2 | Codex CLI | 136,225 |
| 3 | Gemini CLI | 109,021 |
Claude Code has 156,789 stars and ranks No. 6 among the 103 AI and developer tools. Codex CLI has 136,225 stars and ranks No. 9. Gemini CLI has 109,021 stars and ranks No. 13. The gap between Claude Code and Codex CLI is 20,564 stars; as a ratio, Claude Code has about 1.2 times as many stars as Codex CLI. The gap between Claude Code and Gemini CLI is 47,768 stars, and Claude Code has about 1.4 times as many stars as Gemini CLI.
Within the AI Coding Tools category, Claude Code ranks No. 2, Codex CLI No. 3 and Gemini CLI No. 4. That means the category includes a repository with more stars than any of them. Forks follow the same order: Claude Code has 25,113 forks, Codex CLI 21,615 and Gemini CLI 14,981. Stars are cumulative, so this order reflects the interest accumulated so far, not the recent pace of growth.
Data and methodology
Downloads are daily values from the npm download statistics API, summed over 7-day windows, as of November 22, 2026. Changes compare the latest 7-day total with the 7-day totals from 7 days earlier and 30 days earlier. The trend is a 359-day time series. Stars and forks were collected daily through the GitHub API from each tool’s main repository, as of November 23, 2026. The overall rank is the rank among AI and developer tools, with game development tools left out, and the category rank is the rank within the AI Coding Tools category.
There are limitations. Downloads count installations. They include automated installs from CI and mirrors, so they cannot be read as a user count. Stars measure accumulated interest, not usage. Changes in stars over time are not covered here. Downloads and stars measure different things, so they are not compared against each other.
See the full rankings and daily trends on the npm downloads for AI and developer tools, GitHub stars for AI and developer tools pages.