zx
by google
zx lets you write command-line scripts in JavaScript or TypeScript instead of Bash, with a simple way to run shell commands and handle their output. It is for automating tasks such as deployments, file handling and build steps.
- Stars
- 45.8k
- Licence
- Apache-2.0
- Runs on
- Your computer
- Setup
- Easy
- Language
- JavaScript
- Age
- 2001 days
What you can do with it
- Run shell commands from JavaScript and capture their output
- Run several commands at the same time with Promise.all
- Write deployment or build scripts that work on Linux, macOS and Windows
Make money with it
A freelancer could offer workflow and deployment automation scripting to small businesses as a paid service.
An idea, not financial advice. Check the licence before charging for anything built on it.
Ways a business could use it
- Automate repetitive tasks such as deployments, backups and file processing to save staff time
- Replace fragile Bash scripts with maintainable JavaScript that works on every team member's operating system
Can you use it commercially?
Free to use, change and sell, including in paid products. Keep the copyright notice.
Not legal advice. Read the project's licence file before building a product on it.
Getting it running
Install it with npm using "npm install zx", and it needs Node.js, Bun or Deno already on your machine.
Follow the official instructions in the project README.
Things to check
- Not an officially supported Google product
- Requires some JavaScript knowledge
Checked 27 Oct 2026. Summary drafted by AI from the project's README.