dax
Reasonable, with limits. 5th of 8 shell and process tools.
dax is a zx-style shell library for Deno and Node.js. It ships its own cross-platform shell parser and built-in commands, so the same script runs on Windows, macOS and Linux. It is well made and actively released, but it rests on one maintainer, is still on 0.x versions and has a small user base. It is a strong pick for Deno and a niche one on Node, where zx is the usual default.
Best for: Deno users, or Node users who need shell scripts that behave the same on Windows, macOS and Linux.
Scores
Overall6.7
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 6.0, likely 5.0 to 7.0
dax is a well-crafted, actively released shell library and the natural choice on Deno, with the best Windows behaviour of the zx-style tools. On Node, zx has far more users and support, and on Bun the built-in shell does the same job. With one maintainer, 0.x versions and a small user base, it is a good tool with real limits rather than a default.
- peers zx downloadsLast4Weeks: zx has 11.7M downloads against about 0.9M combined for dax.
- scrapbox.io/uki00a/dax,_Bun_Shell,_zx%E3%81%AE%E6%AF%94%E8%BC%83: Recommends zx as the safe default and dax for Deno.
- github.com/dsherret/dax/releases: Active releases, but breaking changes in 0.x.
GPT-6.2 Sol: 7.3, likely 6.1 to 8.3
dax is a strong pick for new Node.js or Deno automation that needs shell pipelines and common commands to work on Windows. Execa is the stronger default for general Node.js subprocess control, and zx is a better fit when scripts depend on Bash or PowerShell. Active releases and Projen’s adoption support the recommendation, while concentrated maintenance and limited direct adoption keep the range wide.
- projen.io/docs/concepts/tasks: Confirms the portable shell’s role in an established tool
- github.com/sindresorhus/execa: Documents Execa’s richer Node.js subprocess and IPC features
- google.github.io/zx/shell: Documents support for Bash and PowerShell
- github.com/dsherret/dax/releases: Recent fixes and releases remain concentrated with one maintainer
- dependents, peers: Smaller indexed adoption than established alternatives
Needed by many4.9
How many developers need a tool for this job?
Claude Opus 5.5: 4.0, likely 3.0 to 5.0
Many developers write a build or automation script now and then, but a zx-style scripting library is a narrower need than spawning processes in general. dax's focus on Deno narrows it further, although it also runs on Node.
- github.com/dsherret/dax: Cross-platform shell tools for Deno and Node.js, also suited to application code.
- scrapbox.io/uki00a/dax,_Bun_Shell,_zx%E3%81%AE%E6%AF%94%E8%BC%83: Concludes that the choice mostly follows the runtime: dax for Deno, Bun Shell for Bun, zx for Node.
GPT-6.2 Sol: 5.8, likely 4.7 to 6.9
Build, CI, release, and developer scripts are common reasons to run shell commands from JavaScript. dax covers Node.js and Deno, with Bun compatibility listed on JSR, and its built-in commands are especially useful on teams that support Windows. The runtime survey shows how many developers can use it, while the share that needs a portable shell is harder to estimate.
- 2025.stateofjs.com/en-US/other-tools/#runtimes: Runtime use among State of JavaScript respondents
- jsr.io/@david/dax: Lists compatibility with Node.js, Deno, and Bun
- projen.io/docs/concepts/tasks: Shows where the portable shell fits in build and project automation
Helps a lot7.5
How well does it do the job for those who need it?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
dax has a real shell parser, built-in commands that work across platforms, pipes and redirects to JS objects, prompts, progress bars and a path API. An independent comparison calls its command implementations more mature than Bun Shell's. It is held back by 0.x versions with breaking changes, the extra size of the parser, and thinner documentation and AI training data than zx.
- github.com/dsherret/dax/releases: Recent releases add command substitution and brace expansion and fix Windows bugs; 0.50 is ESM-only.
- mcmah309.github.io/posts/bun-has-bun-shell-but-so-does-deno: Says dax has more mature commands and better cross-platform support than Bun Shell.
- scrapbox.io/uki00a/dax,_Bun_Shell,_zx%E3%81%AE%E6%AF%94%E8%BC%83: Lists the features of dax, zx and Bun Shell side by side.
GPT-6.2 Sol: 8.0, likely 6.9 to 9.0
Version 0.50.2 combines a portable shell with pipelines, streaming, cancellation, and recent output in failure messages. The npm package includes declarations despite the registry flag, and the docs give developers and coding agents concrete examples. Scripts that depend on Bash-specific syntax or external Unix tools still need platform checks. An older independent benchmark was favorable on one workload, leaving current performance and coding-agent accuracy uncertain.
- dax.land: Documents piping, streaming, aborts, error output, and shell syntax
- cdn.jsdelivr.net/npm/dax@0.50.2/esm: The published npm files include mod.d.ts
- npm hasTypes: The flag misses declarations shipped alongside the ESM entry point
- projen.io/docs/concepts/tasks: Documents external command requirements and Bash-specific limits
- ekino.fr/publications/scripting-tools-a-node-js-friendly-alternative-to-makefile: Independent small benchmark against zx, Execa, ShellJS, and make
Holds up over time6.4
Will it still be a good choice in two years?
Claude Opus 5.5: 6.0, likely 4.0 to 7.0
Maintenance is steady: 50 commits and 16 releases in the last year, only 6 open issues and no open pull requests. The risk is a single maintainer, still on 0.x versions, with breaking minor releases and a package rename on npm.
- github commitsLastYear / releasesLastYear: 50 commits and 16 releases; latest release on 2026-11-02.
- github openIssues / closedIssues: 6 open and 133 closed issues; 0 open pull requests.
- github.com/dsherret/dax/releases: 0.50.0 brought breaking changes, including ESM-only.
GPT-6.2 Sol: 6.8, likely 5.5 to 8.1
The project shipped 16 releases from 50 commits in the past year and fixed a reported pipe failure the day it was filed. One maintainer issued the recent releases, and the 0.50 move to ESM-only shows that upgrades can affect consumers. Release access beyond that maintainer and current funding remain unclear.
- github commitsLastYear, releasesLastYear, openIssues: 50 commits, 16 releases, and six open issues
- github.com/dsherret/dax/releases: Recent releases have the same publisher and document the ESM-only change
- github.com/dsherret/dax/issues/413: A user-reported pipe failure was fixed the same day
Used widely3.8
How many use it, and is that growing?
Claude Opus 5.5: 4.0, likely 3.0 to 5.0
The 'dax' npm number is misleading: the 170 downloads a year ago probably belonged to an older, unrelated package under the same name. Counting dax and dax-sh together gives about 925k downloads in 4 weeks, against about 199k a year ago. That ratio of about 4.6 is near the median, and JSR installs from Deno are not counted. Dependents and attention are tiny next to zx and Bun Shell.
- npm downloadsLast4Weeks: 302,666 for 'dax'; the 170 from a year ago reflects the name change.
- api.npmjs.org/downloads/point/last-month/dax-sh: dax-sh: 622,637 in the last month.
- api.npmjs.org/downloads/point/2025-10-22:2025-11-20/dax-sh: dax-sh: 199,282 in the same 4 weeks a year ago.
- dependents: 1 repository and 3 packages, against 2,228 repositories for zx.
- github stars: 1,509 stars, against 45,863 for zx.
GPT-6.2 Sol: 3.6, likely 2.3 to 5.0
npm recorded about 303,000 downloads in four weeks, up from 170. The raw ratio far exceeds the 4.1× catalog median, but dax moved from `dax-sh` during that interval, and Projen bundles it as a dependency. ecosyste.ms found one repository and three npm packages, far below zx’s indexed use, while JSR reports about 5,800 weekly downloads outside the main npm count. Those gaps leave both direct adoption and its growth uncertain.
- npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo, medianDownloadsRatio: 302,666 versus 170 downloads against a 4.1× catalog median
- github.com/dsherret/dax/releases/tag/0.44.2: Documents the npm move from dax-sh to dax
- github.com/projen/projen/blob/main/package.json: Lists dax as a bundled dependency
- dependents, github stars, bluesky posts, peers: One indexed repo, three packages, 1,509 stars, and four Bluesky posts
- jsr.io/@david/dax: Separate distribution reports 5,817 weekly downloads
Vouched for5.3
Who stands behind it being good?
Claude Opus 5.5: 4.0, likely 3.0 to 6.0
A few independent blog comparisons rate it well, and Bun Shell's design reportedly drew on it. Developers mention it as their go-to tool for Deno scripts. No survey data or large production users are documented, and the link to the Deno team rests on the author's own posts.
- bluesky posts: Users call it part of their standard Deno scripting stack.
- mcmah309.github.io/posts/bun-has-bun-shell-but-so-does-deno: An independent write-up that favours dax.
- pkgpulse.com/guides/bun-shell-vs-zx-2026: A comparison guide in which zx and Bun Shell take most of the attention.
- hackerNews stories: No Hacker News stories.
GPT-6.2 Sol: 6.6, likely 5.4 to 7.7
Projen uses dax as its default task shell, and NATS.js lists it in its Deno tooling. Deno’s migration guide recommends it for teams coming from Bun Shell, and a developer reports using it routinely for scripts. These sources establish credible use in tooling, while recent independent benchmarks and project-specific satisfaction data are sparse.
- projen.io/docs/concepts/tasks: Projen uses dax for its default task shell
- github.com/nats-io/nats.js/blob/main/deno.json: NATS.js lists dax in its Deno tooling configuration
- docs.deno.com/runtime/migrate/migrate_from_bun: Deno recommends dax as a counterpart to Bun Shell
- bsky.app/profile/davidcrespo.bsky.social/post/3mkusxo33t22e: Firsthand report of routine use in Deno scripts
Safe7.2
How safe is it to depend on?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
There are no known advisories, only 3 dependencies and an MIT licence. There is no Scorecard data, and one person publishes the releases, so the score stays below the top. The bundled WebAssembly parser is extra code to trust.
- advisories total: 0 advisories.
- npm dependencies: 3 dependencies.
- scorecard: No Scorecard data.
GPT-6.2 Sol: 7.4, likely 6.1 to 8.6
dax has a permissive MIT license, three direct npm dependencies, and zero advisories in the supplied OSV snapshot. Releases publish from GitHub Actions on tags, and JSR shows signed build provenance. GitHub shows no security policy, and the missing OpenSSF Scorecard and limited visibility into npm publishing access widen the range.
- npm dependencies, license, advisories, scorecard: Three dependencies, MIT, zero OSV advisories, and no Scorecard result
- cdn.jsdelivr.net/npm/dax@0.50.2/package.json: Confirms the three dependencies and absence of install hooks
- github.com/dsherret/dax/blob/0.50.2/.github/workflows/ci.yml: Tag-triggered publishing to npm and JSR
- jsr.io/@david/dax: JSR records a signed GitHub Actions build
- github.com/dsherret/dax/security: GitHub shows no security policy
Good
- Commands like cp, mv, rm, echo and cd are built in, and the shell parser comes from deno_task_shell, so scripts run on Windows without bash.
- It adds prompts, progress bars, a fetch wrapper and a path API beyond running commands, and it works in application code as well as scripts.
- Releases are frequent: 16 in the last year, with recent shell features such as command substitution and brace expansion.
- It is small, with 3 dependencies, no advisories and an MIT licence.
Bad
- It is still on 0.x versions, and minor releases break code; for example, 0.50 made the package ESM-only.
- It depends almost entirely on one maintainer.
- The npm package moved from dax-sh to dax, which splits downloads and confuses people looking for the right package name.
- Few people use it outside Deno, so there are few tutorials or reports from users, and AI agents have little material to learn from.
The numbers
- npm downloads, 4 weeks
- 303k
- GitHub stars
- 1.5k
- Commits, 12 months
- 50
- npm version
- 0.50.2 Nov 2026
- Versions, 12 months
- 16
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- None
- Licence
- MIT
Read on 21 November 2026 from GitHub (dsherret/dax), npm (dax), OSV and the OpenSSF Scorecard.