google/zx

A tool for writing better scripts

View on GitHub ↗Jump to charts ↓Open shareable report →

Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 2 hours ago
Added to GitGenius on June 28th, 2026
Created on May 5th, 2021
Open Issues & Pull Requests: 13 (+0)
GitHub issues: Enabled
Number of forks: 1,308
Total Stargazers: 45,783 (+0)
Total Subscribers: 173 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 2.4 hours
Mean response time: 12.3 days
90th percentile: 22.9 days
Tracked items: 135

How this project is maintained

95% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Three people close 86% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 21
New in 7 days: 1
Closed in 7 days: 0
Avg open age: 440 days
Stale 30+ days: 18
Stale 90+ days: 16

Recent activity

Opened in 7 days: 1
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • bug (31)
  • feature (13)
  • docs needed (3)
  • research (2)
  • wontfix (2)
  • docs (1)

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

The zx repository is a JavaScript tool developed by Google that simplifies writing shell scripts by combining the expressiveness of JavaScript with the convenience of bash. Rather than forcing developers to choose between bash's simplicity for system operations and JavaScript's more structured programming capabilities, zx bridges this gap by providing convenient wrappers around Node.js's child_process module. The tool handles argument escaping automatically and applies sensible defaults, eliminating much of the boilerplate typically required when spawning shell commands from JavaScript.

The project supports multiple JavaScript runtimes beyond Node.js, including Bun version 1.0.0 and above, Deno versions 1.x and 2.x, and GraalVM Node.js, making it broadly compatible across the JavaScript ecosystem. It works on Linux, macOS, and Windows, with support for both bash and PowerShell shells depending on the platform. The tool accommodates both CommonJS and ES modules, as well as JavaScript and TypeScript, providing flexibility in how developers structure their scripts.

This cross-project involvement suggests that zx addresses a genuine need in the scripting and automation space that resonates with developers working on diverse projects.

Documentation is comprehensive, with a dedicated website at google.github.io/zx providing setup instructions and usage guides. The project includes a lite version for users with minimal requirements and maintains code examples within the repository to help developers get started. The tool requires Node.js version 12.17.0 or higher at minimum, establishing a reasonable baseline for adoption while supporting modern JavaScript features. Licensed under Apache 2.0, zx is explicitly noted as not being an officially supported Google product, though it maintains active development and community engagement focused on improving shell scripting capabilities for JavaScript developers.