npm downloadsPreviewThis index is in active development: we are still adding agents, refining attribution signatures, and verifying data against sources. The date in the header is when key figures were last re-checked. Numbers can move as coverage improves.
Weekly npm downloads for the coding-agent CLIs we chart, with the channel each package actually uses. The number is an install-demand floor, not an active-user count, and it reads very differently depending on how the agent ships.
What npm tells you, and what it hides
- It counts package installs, not people. A jump can be real new users or one CI pipeline pulling the package thousands of times. Codex shows this directly: a one-week burst in early May 2026 took daily installs from about 1M to 13 to 46M, then fell straight back to baseline.
- Command-line agents show up here. IDE and web agents (Cursor's editor, Copilot in the IDE) install through other channels and barely register, which is not a sign of low usage.
- Agents that moved to native installers undercount on npm. When the recommended install becomes Homebrew or apt, the npm line drops even as the product grows, so we use the current npm channel as a floor and leave native installs unobserved.
- Every figure here is a floor. Cron-backed rows use complete Mon-Sun weeks, and the demand floor uses a trailing 4-week average so a single spike does not set the headline.
npm is the main way users install this agent, so the weekly count is a fair install-demand floor. It still misses installs that resolve through a cache or mirror.
The vendor now recommends a native installer (Homebrew, WinGet, apt, dnf, apk). npm still works but counts a shrinking share of installs, so the figure understates real adoption. We use the current npm channel as a conservative floor; native installs are unobserved.
npm is a minor channel next to the IDE extension, GitHub, or enterprise distribution that carries most installs. Read it as a partial signal, not the whole product.
Weekly npm downloads
Weekly downloads by package, 2026-02-02 to 2026-06-08. A dotted line marks weeks after the install channel moved to native, where npm understates real installs.
Cumulative installs since launch
Running total of weekly npm downloads per package, since 2025-02-03.
Tracked npm packages
Weekly figures are dated snapshots, not the live npm last-week count. Demand floor is the curated figure, raw npm unless a one-week spike is excluded or the channel undercounts, marked with an asterisk.
| Agent / package | Channel | Latest wk | Peak wk | 4-wk avg | Demand floor |
|---|---|---|---|---|---|
| OpenAI Codex@openai/codex | npm primary | 9.8M | 130.5M | 10.3M | 10.3M* |
| Claude Code@anthropic-ai/claude-code | Native preferred | 11.8M | 13.1M | 9.4M | 9.4M* |
| GitHub Copilot@github/copilot | Secondary channel | 904K | 3.1M | 1.6M | 1.6M* |
| opencodeopencode-ai | npm primary | 1.8M | 1.8M | 1.6M | 1.6M* |
| Pi@earendil-works/pi-coding-agent | npm primary | 2.2M | 2.2M | 1.3M | 1.3M* |
| Gemini CLI / Antigravity CLI@google/gemini-cli | npm primary | 693K | 946K | 673K | 673K* |
| Google Antigravity@google/gemini-cli | Native preferred | 693K | 946K | 673K | 673K* |
| Qwen Code@qwen-code/qwen-code | npm primary | 133K | 162K | 100K | 100K* |
| Clinecline | npm primary | 69,911 | 343K | 62,921 | 62,921* |
| Kilo Code@kilocode/cli | npm primary | 30,560 | 207K | 41,857 | 41,857* |
| Amp@ampcode/cli, @sourcegraph/amp | npm primary | 42,245 | 64,341 | 38,606 | 38,606* |
| Codebuffcodebuff | npm primary | 4,934 | 20,779 | 11,038 | 11,038* |
| Crush@charmland/crush | npm primary | 2,787 | 19,898 | 2,618 | 2,618* |
Codex has a steady npm install channel (~6M/week) plus a one-week spike in early May 2026.
Daily npm installs sit around 0.8-1M (~6M/week) before and after the spike, so distribution did not stop. For one week (Apr 30 to May 6, 2026) daily downloads jumped 30-50x to 13-46M, then fell straight back to baseline. That sudden-then-gone shape is characteristic of automated or CI traffic around a release (a transitive dependency or pinned action), not a durable change in active users, so the demand figure here uses the trailing 4-week average and excludes the spike.
Claude Code's npm downloads halved in late April 2026 — a distribution change, not a usage decline.
In late April 2026 Anthropic moved the recommended install to native installers (Homebrew, WinGet, apt, dnf, apk). The npm package still works and installs the same binary, so the drop from ~13M to ~8M weekly is installs shifting off npm, not fewer users. npm now counts only one channel and understates total adoption.
The Copilot npm package is a secondary signal beside IDE, GitHub, and enterprise distribution.
Package downloads cover the public npm package, not all Copilot seat or IDE extension usage.
opencode shows sustained npm growth through spring 2026.
This measures the npm CLI package only; GitHub stars and package downloads are separate signals.
Pi has a public npm install channel.
Counts public npm package downloads only. Other install channels, caches, mirrors, IDE extensions, and enterprise distribution are not included.
Gemini CLI / Antigravity CLI has a public npm install channel.
Counts public npm package downloads only. Other install channels, caches, mirrors, IDE extensions, and enterprise distribution are not included.
Gemini CLI npm downloads are now a legacy traction signal for Google's Antigravity migration path.
Google documents migration from Gemini CLI to Antigravity CLI; Antigravity's native CLI and desktop installs are not visible in npm.
Qwen Code has a public npm install channel.
Counts public npm package downloads only. Other install channels, caches, mirrors, IDE extensions, and enterprise distribution are not included.
Cline CLI npm downloads are much smaller than its extension/install footprint.
The public npm package is only the CLI signal; VS Code and JetBrains installs are not represented by npm.
Kilo Code npm downloads track the official CLI package.
IDE extension and hosted cloud usage may not be visible in npm.
Amp's newer @ampcode/cli package has a short public npm history.
Amp also has a legacy @sourcegraph/amp package, so package migration can split the visible npm counter.
Codebuff has a public npm install channel.
Counts public npm package downloads only. Other install channels, caches, mirrors, IDE extensions, and enterprise distribution are not included.
Crush has a public npm install channel.
Counts public npm package downloads only. Other install channels, caches, mirrors, IDE extensions, and enterprise distribution are not included.
For how every number on the index is captured and its limits, see the methodology.