Cross-spawn
Cross-platform child process spawning helper for Node.js, normalizing PATH and shell resolution across Windows, macOS and Linux so command arrays launch the same executable everywhere, used by CLI tools and build scripts.
Cross-spawn at github.com/moxystudio/node-cross-spawn is a free MIT cross-platform child process spawn helper for Node.js, npm cross-spawn 7.0.6 Node.js >= 8, normalizes PATH and shell resolution across Windows macOS and Linux so command arrays launch the same executable in CLI tools and build scripts, no sold commercial tier (data as of Nov 22, 2026).
*This is an affiliate link, we may earn a commission at no extra cost to you.
Is Cross-spawn free?
Cross-spawn: Cross-spawn is free open-source software released under the MIT License; the cross-spawn package latest 7.0.6 on npm requires Node.js >= 8. It normalizes PATH lookup and shell resolution so a command array resolves the same executable on Windows, macOS and Linux, which removes platform-specific spawn failures in CLI tools and build scripts. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026). Check the official page for current status before relying on it.
Frequently Asked Questions
Is Cross-spawn free?
The code is free to self-host, but a hosted plan from the vendor may not be. Cross-spawn publishes its source, so cost depends on where you run it.
How much does Cross-spawn cost?
Cross-spawn is free open-source software released under the MIT License; the cross-spawn package latest 7.0.6 on npm requires Node.js >= 8. It normalizes PATH lookup and shell resolution so a command array resolves the same executable on Windows, macOS and Linux, which removes platform-specific spawn failures in CLI tools and build scripts. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026). Usage volume, plan limits and add-ons can push the bill above the figures shown, so confirm the current numbers on the vendor page before committing.
Where can I check Cross-spawn's current pricing?
On Cross-spawn's official site, linked from this page. We only publish a price after reading the vendor's own pricing page, so if this page shows no number, it means no traceable public price is on file — not that the tool is free.
What is Cross-spawn?
The helper wraps the Node spawn call and adjusts environment PATH and shell detection per platform, so a command such as an npm binary resolves consistently whether the developer machine runs Windows or a Unix shell; this avoids the path and quoting differences that break raw spawn on Windows.
How does pricing work?
The package installs free under MIT with no seat license; it spawns processes in-process, and commercial support would be outside the open-source project.
How does Cross-spawn compare with other tools in Dev Workflow & Productivity?
Cross-spawn is listed in the Dev Workflow & Productivity category, alongside 2 other tools we track here. 2 of those 2 peers have a dated price we read from the vendor's own pricing page, and the table below shows each tool's pricing model next to the exact rate on file — so the comparison is between published numbers, not between marketing pages.
| Tool | Pricing model | Key pricing on file | Price checked |
|---|---|---|---|
| Cross-spawn | Open source | Cross-spawn is free open-source software released under the MIT License; the cross-spawn package latest 7.0.6 on npm requires Node.js >= 8. It normalizes PATH lookup and shell resolution so a command array resolves the same executable on Windows, macOS and Linux, which removes platform-specific spawn failures in CLI tools and build scripts. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026). | Nov 22, 2026 |
| Execa | Open source | Execa is free open-source software released under the MIT License; the execa package latest 10.2.1 on npm requires Node.js >= 22. It wraps child process spawning with promise-based stdout and stderr, stdio configuration, timeouts, cleanup and structured error results, so scripts and build pipelines can run CLI tools with clearer failure reporting. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026). | Nov 22, 2026 |
| Which | Open source | Which is free open-source software released under the ISC License; the which package latest 7.0.0 on npm requires Node.js ^22.22.2, ^24.15.0 or >= 26. It mirrors the Unix which utility to locate an executable along the PATH, resolving the lookup order used by the shell, so CLIs and build tools can confirm an installed binary before invoking it. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026). | Nov 22, 2026 |
3 of these 3 entries carry a specific price we read from the vendor's site. Where the column says there is no dated price on file, we have not verified a rate — treat that as unknown rather than free, and check the vendor's page before you budget for it.
Full pricing breakdown
Cross-spawn's source code is publicly available, so you can run or build it yourself. The project may also sell a paid hosted or cloud plan — check the official site for current pricing.
Open source does not always mean every hosted version is free.
Key pricing: Cross-spawn is free open-source software released under the MIT License; the cross-spawn package latest 7.0.6 on npm requires Node.js >= 8. It normalizes PATH lookup and shell resolution so a command array resolves the same executable on Windows, macOS and Linux, which removes platform-specific spawn failures in CLI tools and build scripts. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026).
Estimate your monthly bill with our calculator →Or build a full stack around your budget →Pricing Guides & Comparisons
Plan prices in these guides are read from each vendor's own pricing page, with the date we checked them.
⭐ Rate this tool
How would you rate this tool?
🚀 Never Miss a New AI Coding Tool
Join 1,000+ developers getting our weekly roundup: new AI tools, student free tiers, exclusive discounts, and side project deals. No spam, unsubscribe anytime.
Current Alternatives
Execa
Enhanced child process execution wrapper for Node.js, spawning commands with promise-based output, stdio options, timeouts, cleanup and verbose error results, used to run shell commands and CLI tools from scripts and build pipelines.
Which
Locate the executable path of a command on the PATH, mirroring the Unix which utility for Node.js, resolving shell aliases and lookup order, used by CLIs and build tools to find installed binaries.
Tool Information
- Official Websitegithub.com
- CategoryDev Workflow & Productivity
- PricingOpen Source
- Price checkedNov 22, 2026
