# execa: 8.0 out of 10

A strong pick. 1st of 8 in [Shell and process tools](https://elestia.ai/opensource/shell/index.md).

Execa is the most complete Node.js library for running subprocesses. It offers a promise API and template strings, safe argument escaping, piping, IPC, streaming and good errors. It is a strong, well-maintained choice today. Teams that care about install size are moving to the much smaller tinyexec, and execa's download growth trails the median.

**Best for:** Node.js apps, CLIs and build tools that need rich, reliable subprocess control and don't mind a larger dependency tree.

## Scores

- **Overall: 8.0** (likely 7.2 to 9.0)
  - Claude Opus 5.5 (7.5): Execa is the most capable and best-documented subprocess library for Node, it is actively maintained, and it is safe to choose for rich process control. tinyexec now covers the common case with a far smaller footprint and is gaining ground faster, so execa is no longer the clear default. Its frequent breaking majors also count against it.
  - GPT-6.2 Sol (8.5): Execa is the strongest choice in this group for modern Node.js projects that need detailed errors, streaming pipelines, or careful process cleanup. Recent releases and adoption by semantic-release support choosing it today. Tinyexec has a credible advantage for simple spawning, and Execa’s slower relative download growth and weak supply-chain controls keep the recommendation below a category-wide default.
- **Needed by many: 5.8** (likely 4.7 to 7.0)
  - Claude Opus 5.5 (6.0): Many Node projects need to run programs from code, mostly CLIs, build tools, scripts and tests. Most web app code does not. Execa targets Node only, which is still the main runtime for this job.
  - GPT-6.2 Sol (5.6): Running external programs comes up in CLIs, build tools, and automation across the Node.js ecosystem. Execa’s Node.js 22 requirement narrows the audience, and routine browser work rarely calls for direct process control. Runtime surveys show how widely Node.js is used but leave the share of developers who need a subprocess library uncertain.
- **Helps a lot: 8.8** (likely 7.9 to 9.5)
  - Claude Opus 5.5 (8.5): Execa has the richest feature set among its peers, with careful handling of errors, streams, IPC and Windows quirks, plus strong types and docs. v10 modernized the API: the subprocess is a plain promise and web streams are supported. Its large size and Node-only scope keep it from a perfect score for users who want a minimal tool.
  - GPT-6.2 Sol (9.1): Execa brings typed results, detailed errors, streaming pipelines, IPC, and process cleanup into one API. The versioned examples give coding agents a reference for current calls, and 10.2.1 fixes compatibility with exactOptionalPropertyTypes. A single Linux benchmark found more overhead than tinyexec for a trivial spawn, so performance across workloads remains uncertain.
- **Holds up over time: 7.9** (likely 6.8 to 8.9)
  - Claude Opus 5.5 (8.0): It had 103 commits and 7 releases in the last year, including a major release in July 2026, and the issue tracker is nearly empty. It has two long-time maintainers. Frequent breaking changes, and an ecosystem trend toward lighter tinyexec, add some risk.
  - GPT-6.2 Sol (7.8): Execa logged 103 commits and seven releases in the past year, and maintainers closed a user-reported sync error bug the same day it was opened. Version 10 raised the Node.js minimum and changed how callers access native process methods, creating real upgrade work. npm lists two maintainers, and the package links to sponsorship, but long-term funding is unclear.
- **Used widely: 8.0** (likely 6.8 to 8.9)
  - Claude Opus 5.5 (8.5): It has about 944M downloads per 4 weeks and 932k dependent repos, the most of any direct-choice tool in the category. Many downloads come from transitive installs. Its growth ratio of 2.4x is below the 4.1x median, while tinyexec has nearly caught up on downloads.
  - GPT-6.2 Sol (7.4): Ecosyste.ms found about 932,000 dependent repositories and 17,600 dependent packages, far ahead of ShellJS and zx in the sample. Downloads grew 2.39×, below the catalog’s 4.1× baseline, while tinyexec grew about 8.42×. Indirect installs, heavy use of older versions, and no matched Hacker News stories or Bluesky links in the bundle leave current direct adoption hard to pin down.
- **Vouched for: 7.3** (likely 6.2 to 8.3)
  - Claude Opus 5.5 (7.0): Many major tools have run it in production for years. The e18e module-replacements list recommends tinyexec over it, and Nuxt projects have migrated away. Most comparisons I found are execa's own docs; I found no independent benchmark or survey data for it.
  - GPT-6.2 Sol (7.5): Semantic-release adopted Execa 10 in a stable release, and Yeoman uses Execa 9 to run commands from generators. An independent comparison favored Execa for richer piping and error handling, while Vitest’s test tooling switched to tinyexec. These examples support Execa’s fit for demanding workloads, but broad satisfaction data and independent testing of advanced features are thin.
- **Safe: 6.7** (likely 5.6 to 7.9)
  - Claude Opus 5.5 (7.0): It has no known advisories, uses the MIT licence and has a security policy. It still pulls in 12 dependencies, and the OpenSSF Scorecard is a low 4.3, with zero on code review, branch protection, pinned dependencies and token permissions. Its no-shell default lowers the risk of command injection.
  - GPT-6.2 Sol (6.4): Execa has an MIT licence, a reporting policy, and no advisories in the OSV snapshot. It avoids shell interpretation by default, and opting into shell mode requires shell-specific quoting. The 4.3 OpenSSF score and 12 runtime dependencies weigh against it, especially the zero scores for code review, branch protection, workflow token permissions, and dependency pinning. npm lists two maintainers, while the publishing method and release provenance remain unverified.

## Good

- It has the widest feature set in the category: piping, IPC, transforms, web streams, killDescendants, verbose mode and detailed errors.
- Template strings escape arguments and run no shell by default, so commands are safe and work the same across platforms.
- It is actively maintained: v10 shipped in July 2026 with several follow-up releases, and the tracker has 1 open issue against 508 closed.
- Its typings are thorough and its documentation is extensive, so AI agents usually write correct code for it.

## Bad

- It pulls in 12 dependencies and has a large install size; e18e and Nuxt projects replace it with tinyexec for that reason.
- Major versions often break code: v10 needs Node 22 and removed execaCommand, and v10 minor releases also changed behavior.
- Its downloads grew 2.4x in a year, below the 4.1x median, while tinyexec grew about 8x.
- It only targets Node.js. Bun and Deno users have Bun.$ or dax built in or closer to hand.

## The numbers

- Downloads, 4 weeks: 944M
- In a year: ×2.4
- GitHub stars: 7.7k
- Commits, 12 months: 103
- Last npm release: Oct 2026
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/sindresorhus/execa
- npm: https://www.npmjs.com/package/execa

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 22 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
