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

Comparison: Downloads, last 7 daysnpm downloads for AI and developer toolsSource: npm download counts API · as of 2026-11-22
Codex CLI: 27.6MCodex CLI27.6MClaude Code: 22.2MClaude Code22.2MGemini CLI: 565KGemini CLI565K
Codex CLI: 27.6MCodex CLI27.6MClaude Code: 22.2MClaude Code22.2MGemini CLI: 565KGemini CLI565K
Codex CLI: 27.6MCodex CLI27.6MClaude Code: 22.2MClaude Code22.2MGemini CLI: 565KGemini CLI565K
View as table
Comparison: Downloads, last 7 days
RankItemValue
1Codex CLI27.6M
2Claude Code22.2M
3Gemini CLI565K

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

Trend: Downloads, last 7 daysnpm downloads for AI and developer tools, last 359 days, weeklySource: npm download counts API · as of 2026-11-22
050M100M150MJan2026AprJulOctCodex CLIClaude CodeGemini CLI
020M40M60M80M100M120M140MJan2026MarMayJulSepNovCodex CLIClaude CodeGemini CLI
020M40M60M80M100M120M140MDec2025Jan2026FebMarAprMayJunJulAugSepOctNovCodex CLI 27.6MClaude Code 22.2MGemini CLI 565K
View as table
Trend: Downloads, last 7 days
DateCodex CLIClaude CodeGemini CLI
2026-11-2227.6M22.2M565K
2026-11-1526.4M17.5M464K
2026-11-0825.9M14.2M476.7K
2026-11-0127.8M12.9M445.3K
2026-10-2526.4M14M456.5K
2026-10-1825.7M14.5M470.5K
2026-10-1128M15M484.5K
2026-10-0425.6M14.8M453.2K
2026-09-2724.2M13.3M432.8K
2026-09-2022.1M14.1M422.5K
2026-09-1324.2M15M425.2K
2026-09-0624.8M17.8M433.5K
2026-08-3021.3M20.7M394.5K
2026-08-2316.1M22.6M383.1K
2026-08-1616.3M22.9M382.7K
2026-08-0916.3M15.1M396K
2026-08-0216.9M10.4M395.4K
2026-07-2614.7M10.6M524K
2026-07-1916M11.5M488.1K
2026-07-1212.4M10.9M468.6K
2026-07-0510.4M11M406.4K
2026-06-2813.4M10.8M463.9K
2026-06-2110.9M9.9M580.8K
2026-06-149.8M11.8M692.6K
2026-06-0710.7M9.9M782.8K
2026-05-3113.6M8.7M686.4K
2026-05-249.2M8.8M664.6K
2026-05-1713M7.6M744.3K
2026-05-1089.3M7.6M818.4K
2026-05-03130.5M7.7M781.3K
2026-04-265.8M11.8M854.8K
2026-04-194.1M13.1M946K
2026-04-123.1M12.1M704K
2026-04-053.1M10.2M672K
2026-03-293.3M10.8M784.9K
2026-03-223.7M10.2M735.9K
2026-03-153.6M9.9M730.7K
2026-03-082.7M9.5M664.6K
2026-03-012.1M9.3M758.7K
2026-02-221.6M7M672.5K
2026-02-151.2M6.6M663.9K
2026-02-081M7.6M651.5K
2026-02-01618.4K7.5M546.4K
2026-01-25572.3K6.9M620K
2026-01-18551.6K6.7M405.1K
2026-01-11471.4K5.9M379K
2026-01-04318K1.8M272.4K
2025-12-28361.5K2.4M325.9K
2025-12-21483.9K6M435.2K
2025-12-14508.1K6M381.9K
2025-12-07487.3K6.1M393.4K
2025-11-30293K4.9M389.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

Comparison: StarsGitHub stars for AI and developer toolsSource: GitHub API · as of 2026-11-23
Claude Code: 156,789Claude Code156,789Codex CLI: 136,225Codex CLI136,225Gemini CLI: 109,021Gemini CLI109,021
Claude Code: 156,789Claude Code156,789Codex CLI: 136,225Codex CLI136,225Gemini CLI: 109,021Gemini CLI109,021
Claude Code: 156,789Claude Code156,789Codex CLI: 136,225Codex CLI136,225Gemini CLI: 109,021Gemini CLI109,021
View as table
Comparison: Stars
RankItemValue
1Claude Code156,789
2Codex CLI136,225
3Gemini CLI109,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.