googleDeveloper tools

zx

Google’s open-source JavaScript/TypeScript scripting tool with convenient cross-platform wrappers for shell command execution.

  • Backend
  • DevOps
  • Automation
  • CLI
  • Library/framework
  • Windows
  • macOS
  • Linux
  • Runs locally
  • Docker supported
zx screenshot
Popularity
45.8k Stars
GitHub stars
Recent activity
8/14/2026
Maintenance status unclear
License
APACHE-2.0
Permissive

Why it matters

We look beyond stars: what problem it solves, whether it creates real utility, and what makes its approach worth noticing.

Last 90 days

Problem

Traditional shell scripts become difficult to maintain for complex logic, while native Node.js child process handling involves boilerplate and verbose argument escaping.

Practical value

Simplifies running system commands in JavaScript or TypeScript by providing tagged templates and cross-platform process wrappers.

Innovation / differentiation

Primarily offers syntactic sugar and wrappers over existing child_process APIs rather than introducing architectural breakthroughs.

Leverage potential

Replaces portions of Bash scripting with a familiar programming language, lowering the barrier for task automation and maintenance scripts.

Why now

Runtimes like Node.js, Bun, and Deno are widely adopted, and scripting in JavaScript remains a common practice.

Community activity

In the last 90 days there were 2 new issues and 24 pull requests; the bounded issue/PR samples include 2 issue authors and 17 PR contributors, with at least 0 releases.

Maintainer responsiveness

The 2-issue window sample had a 0% close rate, and the 24-pull-request sample had a 4% merge rate. Maintainer-comment observations covered only 100% of that issue sample, so response rate and first-response speed are not reported.

17 contributors in PR sampleAt least 0 releasesPR merge rate 4% · 24 sampled in window

Key highlights

  • Executes shell commands directly from JavaScript/TypeScript tagged templates.
  • Wraps child_process with argument escaping and scripting-oriented defaults.
  • Supports Windows, macOS, Linux, and JavaScript runtimes including Node.js, Bun, and Deno.

Quick start

How it is installed, how hard it is, and where to start.

Where it runs

Runs locally

Difficulty

Easy — follow the steps

Docker supportedRuns locally
  1. 01Install zx with npm install zx.
  2. 02Use the $ tagged template in a JavaScript/TypeScript script to invoke shell commands.
  3. 03Use Bash or PowerShell as appropriate for the system and follow the zx setup docs for script entry points and execution.

Best for

  • Developers who want to try it on their machine
  • People who prefer Docker deploys

More about it

zx is for developers who already use JavaScript or TypeScript but frequently need shell scripting. It wraps process execution with tagged-template commands, argument escaping, and defaults tailored to scripting tasks.

The project supports Linux, macOS, and Windows and can run on JavaScript runtimes including Node.js, Bun, and Deno, with Bash or PowerShell as the underlying shell.

Sources

Each field shows its status and source — expand to review.

12 · Expand
  • capability tags

    Verified

    automation

    Source: manual_curated · Manually curated from verified project README · 8/17/2026

  • Latest release

    Verified

    8.8.5

    Source: GitHub API · latest_release=8.8.5 · 10/2/2026

  • License

    Verified

    Apache-2.0

    Source: GitHub API · license.spdx_id=Apache-2.0 · 10/2/2026

  • needs api key

    Verified

    No

    Source: manual_curated · Manually curated from verified project README · 8/15/2026

  • One-liner

    Verified

    {"en":"Google’s open-source JavaScript/TypeScript scripting tool with convenient cross-platform wrappers for shell command execution.","zh":"Google 开源的 JavaScript/TypeScript 脚本工具,为 shell 命令调用提供更顺手的跨平台封装。"}

    Source: manual_curated · Manually curated from verified project README · 8/15/2026

  • Platforms

    Verified

    windows, macos, linux

    Source: manual_curated · Manually curated from verified project README · 8/15/2026

  • Category hint

    Inferred from materials

    developer-tools

    Source: Project README · hint=developer-tools · 8/15/2026

  • product forms

    Verified

    cli, library_framework

    Source: manual_curated · Manually curated from verified project README · 8/17/2026

  • role tags

    Verified

    backend, devops

    Source: manual_curated · Manually curated from verified project README · 8/17/2026

  • supports docker

    Verified

    Yes

    Source: Repository file · dockerfile=true; compose=false · 10/2/2026

  • supports local

    Verified

    Yes

    Source: manual_curated · Manually curated from verified project README · 8/15/2026

  • supports self host

    Verified

    No

    Source: manual_curated · Manually curated from verified project README · 8/15/2026

Other verified projects matched by category, capabilities, and intended roles.