Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

shx

Cross-platform shell commands for Node.js scripts without shell dependencies.

Dev workflow and configNPM

GitHubWebsite

1. License

License from npm.

github.com/shelljs/shx

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What shx does

Cross-platform shell commands for Node.js scripts without shell dependencies.

shx popularity

50 / 100
Gid Score, #1969 overall
1.7M
downloads a week, npm
1,876
GitHub stars
24
agent projects use it
shx: downloads per weeknpm, shx 1,654,020
shx: GitHub starsshelljs/shx 1,876

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How shx is used

  • shx is a dependency in 24 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (0.5% of the 4,867 JavaScript/TypeScript ones), #53 of 299 in dev workflow and config.
  • Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 62; those are left out of every share on this page.
  • The most used alternative in our scan is cross-env (208 projects).
  • Projects that use it most often also use Model Context Protocol SDK (JavaScript) (62.5%), Zod (66.7%), TypeScript (95.8%).

By coding agent

12 projects, 0.4%
11 projects, 0.5%
6 projects, 0.2%

Often used with

In 66.7% of its projects
In 95.8% of its projects
In 25.0% of its projects
In 41.7% of its projects
In 20.8% of its projects
In 16.7% of its projects
In 20.8% of its projects

More about shx

More in Dev workflow and config

Alternatives

shx This page

MITGid 501.7M/wk

cross-env

Set environment variables across Windows, Mac and Linux in npm scripts.

MITGid 7436.9M/wk

rimraf

Cross-platform delete directories and files recursively like Unix rm -rf command.

BlueOak-1.0.0Gid 74216M/wk

Compare shx with another tool

Get started

Install it.

npm install shx

No step-by-step start for shx yet: we have not written its hand-checked card.