Elestia Open Source Ratings
5.1

ShellJS

Reasonable, with limits. 7th of 8 shell and process tools.

ShellJS is a mature, portable JavaScript version of Unix commands like cp, rm, mkdir, sed and grep. It is still useful for cross-platform build scripts, but its API is synchronous and string-based, it ships without its own types, and it has had no release since May 2025. For new work, zx or execa are better choices, and so is Node's own fs module.

Best for: Teams that keep build or npm lifecycle scripts that must run cp/rm/sed the same way on Windows, macOS and Linux.

WebsiteGitHubnpm

Scores

Overall5.1

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 4.5, likely 3.5 to 5.5

ShellJS still works and is portable for file commands in build scripts. But maintenance has slowed, there are no bundled types or modern async API, and its share of new projects is falling fast. For new projects, zx gives better scripting and execa or tinyexec give better process running, while native fs covers most file work. It is fine to keep where it already runs, but it is a weak pick for new work.

  • npm downloads ratio vs medianDownloadsRatio: 1.25x vs a 4.1x median
  • peers execa/zx/tinyexec: Peers are more active and growing faster
  • github.com/shelljs/shelljs/releases: Last release v0.10.0, May 2025

GPT-6.2 Sol: 5.7, likely 4.6 to 6.8

ShellJS is a reasonable choice when familiar file and text commands simplify a short Node.js script. For new projects centered on subprocesses, Execa has stronger async execution, streaming, cancellation, and error reporting, along with a more recent release. ShellJS's slow release cadence and open Windows regressions lower the recommendation, and the value of its built-in commands varies by workload.

Needed by many5.4

How many developers need a tool for this job?

Claude Opus 5.5: 6.0, likely 5.0 to 7.0

Many JS developers write build, release or CI scripts that need shell commands. ShellJS covers the cross-platform file-command side of that job, which is a large group but not most projects. Node's own fs APIs now cover much of the same ground.

GPT-6.2 Sol: 4.7, likely 3.6 to 5.9

Running external programs is useful in build, release, and test automation across many JavaScript projects. ShellJS mainly serves the narrower group writing Node.js scripts that mix subprocesses with Unix-style file and text operations. The developer survey shows how common build steps are, but leaves the share writing these scripts uncertain.

Helps a lot5.7

How well does it do the job for those who need it?

Claude Opus 5.5: 5.0, likely 4.0 to 6.0

Its built-in commands are reliable and portable. Version 0.10 added grep context options and a safer cmd() for running programs. Process running is its weak side: exec() takes a single string with no quoting, there are no structured results, and async support is limited. There are no bundled types. zx and execa do the job of running programs clearly better.

GPT-6.2 Sol: 6.3, likely 5.2 to 7.4

ShellJS 0.10.0 documents its file and text commands clearly, and synchronous subprocess calls expose exit codes, stdout, and stderr. Most commands block, and TypeScript users need separate declarations. Users report that Windows path handling regressed for wildcard matching and recursive `find()`. A small scripting benchmark found ShellJS slower than Execa and zx, and evidence on performance across workloads and on code generated by agents remains thin.

Holds up over time4.7

Will it still be a good choice in two years?

Claude Opus 5.5: 4.5, likely 3.0 to 6.0

The project is not archived and saw a push in October 2026. But it had only 19 commits and no releases in the last year, and has 41 open PRs. A small volunteer team with no visible funding maintains it. The ecosystem is moving towards zx, execa, tinyexec and native fs, so it is likely to stay in maintenance mode.

  • github commitsLastYear / releasesLastYear: 19 commits, 0 releases in the last year
  • npm latestPublishedAt: Last publish 2025-05-09
  • scorecard Maintained: Maintained check scores 6/10
  • github openPullRequests: 41 open PRs

GPT-6.2 Sol: 4.8, likely 3.5 to 6.3

ShellJS had 19 commits in the past year, and a maintainer responded to Windows bug reports. The last release was in May 2025, a proposed Windows glob fix remains open, and Execa published in October 2026. One maintainer led the latest release, and an old public roadmap and limited visibility into funding and release capacity make the two-year outlook uncertain.

Used widely6.2

How many use it, and is that growing?

Claude Opus 5.5: 6.0, likely 5.0 to 7.0

It has 47.7M downloads per 4 weeks and 230k dependent repos, so its install base is huge. Much of that comes from older tools that pull it in. Growth is 1.25x against a 4.1x median, far behind execa (2.4x), tinyexec (8.4x) and zx (2.4x), so its share of new projects is falling.

  • npm downloadsLast4Weeks / downloadsSame4WeeksYearAgo: 47.7M vs 38.3M, a 1.25x ratio
  • medianDownloadsRatio: The 4.1 median shows it is losing ground
  • dependents repos: 230k repos, third behind cross-spawn and execa
  • bluesky posts / hackerNews stories: Zero current social attention

GPT-6.2 Sol: 6.3, likely 5.1 to 7.5

ecosyste.ms found about 230,000 dependent repositories and 33,000 dependent packages, a substantial installed base that trails Execa. Four-week downloads rose from 38.3 million to 47.7 million, a 1.25× increase against the 4.1× catalog median and slower growth than Execa or zx. That points to a loss of relative ground. Repeat installs and indirect installs through tools such as shx make fresh direct adoption difficult to estimate.

  • dependents: 230,048 repositories and 32,986 npm packages
  • npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo, and medianDownloadsRatio: ShellJS grew 1.25× against the 4.1× catalog median
  • peers execa and zx: Execa has 932,013 detected repositories and both peers grew over 2.3×
  • github stars and bluesky posts: 14,400 cumulative stars and zero recent Bluesky repository links in the snapshot
  • github.com/shelljs/shx/blob/main/package.json: shx installs ShellJS as a runtime dependency
Vouched for5.7

Who stands behind it being good?

Claude Opus 5.5: 5.0, likely 3.5 to 6.5

Many long-standing projects and build tools have used it for years, and independent comparisons still recommend it for portable build scripts. There are no current survey signals and no recent social attention. Most endorsements are old.

GPT-6.2 Sol: 6.4, likely 5.2 to 7.5

Angular Components and Microsoft's VS Code ESLint extension list ShellJS 0.10 in their development tooling. The jQuery UI release tool also depends on it. These uses support its build and release niche, while broader user satisfaction is hard to judge and Ekino's independent evaluation chose Execa and dax for its scripting needs.

Safe6.3

How safe is it to depend on?

Claude Opus 5.5: 6.0, likely 5.0 to 7.5

It has only two advisories, both from 2022 and both fixed, with none in the last 24 months. The licence is BSD-3-Clause and there are two direct dependencies (execa and fast-glob). The OpenSSF Scorecard is 5, with zeros for token permissions, pinned dependencies, SAST and fuzzing. The string-based exec() makes command injection easy if user input reaches it.

GPT-6.2 Sol: 6.5, likely 5.3 to 7.7

Both 2022 advisory entries were patched by 0.8.5, and the bundle lists no advisories in the past two years. The package has two direct dependencies and a permissive BSD-3-Clause license, while `exec()` can interpret untrusted input as shell syntax. OpenSSF scores the project 5 out of 10, with weak workflow token permissions, dependency pinning, and code review. Releases follow a documented maintainer-run process, and uncertainty about current npm publishing access and provenance widens the range.

Good

  • Built-in commands such as cp -R, rm -rf and sed are written in JavaScript, so they behave the same on Windows and Unix CI runners.
  • The API is simple and synchronous, and is easy to read in short build scripts.
  • It has a very large installed base, about 230k dependent repos, and a long, stable history since 2012.
  • It uses the permissive BSD-3-Clause licence, and no advisories have appeared since 2022.

Bad

  • exec() takes a single string and does no automatic quoting, so dynamic commands can lead to injection bugs.
  • It ships no TypeScript types (you need @types/shelljs), and it has no native promise-based API.
  • Maintenance is slow: no release since v0.10.0 in May 2025, and only 19 commits in the last year.
  • Downloads grew 1.25x against a 4.1x median, so new projects are choosing zx, execa or tinyexec instead.

The numbers

npm downloads, 4 weeks
48M +25% in a year
GitHub stars
14k
Commits, 12 months
19
npm version
0.10.0 May 2025
Versions, 12 months
0
Advisories, 24 months
0 of 2 ever
OpenSSF Scorecard
5.0 out of 10, Nov 2026
Licence
BSD-3-Clause

Read on 21 November 2026 from GitHub (shelljs/shelljs), npm (shelljs), OSV and the OpenSSF Scorecard.

Shell and process tools

  1. 8.0execa
  2. 7.3tinyexec
  3. 7.2zx
  4. 7.0Bun Shell
  5. 6.7dax
  6. 6.2nano-spawn
  7. 5.1ShellJS
  8. 5.1cross-spawn
Compare all 8 on six scores