Npm Run Path
Builds the PATH environment variable to include node_modules/.bin for the current local project, so spawned commands resolve project-local CLI binaries the way npm scripts do, used in tooling and test runners.
Npm Run Path: Npm-run-path at github.com/sindresorhus/npm-run-path is a free MIT PATH builder for the local project, npm npm-run-path 6.0.0 Node.js >= 18, prepends node_modules/.bin so spawned commands resolve project-local CLI binaries like npm scripts do, used in tooling and test runners, 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 Npm Run Path free?
Npm Run Path: Npm-run-path is free open-source software released under the MIT License; the npm-run-path package latest 6.0.0 on npm requires Node.js >= 18. It assembles a PATH that prepends the local node_modules/.bin directories, so commands spawned outside an npm script still resolve project-local CLI binaries the way npm run does. 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 Npm Run Path free?
The code is free to self-host, but a hosted plan from the vendor may not be. Npm Run Path publishes its source, so cost depends on where you run it.
How much does Npm Run Path cost?
Npm-run-path is free open-source software released under the MIT License; the npm-run-path package latest 6.0.0 on npm requires Node.js >= 18. It assembles a PATH that prepends the local node_modules/.bin directories, so commands spawned outside an npm script still resolve project-local CLI binaries the way npm run does. 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 Npm Run Path's current pricing?
On Npm Run Path'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 Npm-run-path?
Starting from the working directory, the package walks upward and collects each node_modules/.bin folder, then returns an augmented PATH string; when passed to a spawned child, that child finds locally installed CLI executables even if the parent process was not started through npm run.
How does pricing work?
The package installs free under MIT with no seat license; it builds an environment string in-process, and commercial support would be outside the open-source project.
How does Npm Run Path compare with other tools in Dev Workflow & Productivity?
Npm Run Path 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 |
|---|---|---|---|
| Npm Run Path | Open source | Npm-run-path is free open-source software released under the MIT License; the npm-run-path package latest 6.0.0 on npm requires Node.js >= 18. It assembles a PATH that prepends the local node_modules/.bin directories, so commands spawned outside an npm script still resolve project-local CLI binaries the way npm run does. 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
Npm Run Path'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: Npm-run-path is free open-source software released under the MIT License; the npm-run-path package latest 6.0.0 on npm requires Node.js >= 18. It assembles a PATH that prepends the local node_modules/.bin directories, so commands spawned outside an npm script still resolve project-local CLI binaries the way npm run does. 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
