google/zx

A tool for writing better scripts

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 26 minutes ago
Added to GitGenius on June 28th, 2026
Created on May 5th, 2021
Open Issues & Pull Requests: 56 (+0)
Number of forks: 1,283
Total Stargazers: 45,670 (+0)
Total Subscribers: 159 (+0)

Repository Insights (GitGenius)

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

How this project is maintained

Around half of the issues opened in the past year never receive a reply. Only 6% of issues opened in the past year have been closed. Three people close 86% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 19
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 410 days
Stale 30+ days: 18
Stale 90+ days: 17

Recent activity

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

Top labels

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

Most active issues this week

No issue events were indexed in the last 7 days.

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.