shell-quote
Parses and quotes shell commands safely for cross-platform shell execution.
Utilities npm MIT
How shell-quote is used
shell-quote is a dependency in 6 of the 6,208 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 2,661, Ethereum and EVM 1,496, 3D and games 2,818, agent frameworks and SDKs 10,983); counting those, it appears in 37 projects, and what it is used with below comes from all of them. Projects that use it most often also use Zod (91.9%), Model Context Protocol SDK (JavaScript) (83.8%), Anthropic SDK (75.7%).
shell-quote popularity over time
Gid Score 52: downloads 99, use in agent projects 36, GitHub stars 0, downloads trend 57 (each 0-100). How it is calculated.
Often used with shell-quote
| Zod | 91.9% of shell-quote projects · 3.7× more than average |
|---|---|
| Model Context Protocol SDK (JavaScript) | 83.8% of shell-quote projects · 8.8× more than average |
| Anthropic SDK | 75.7% of shell-quote projects · 20.2× more than average |
| yaml | 64.9% of shell-quote projects · 20.9× more than average |
| Axios | 59.5% of shell-quote projects · 7.8× more than average |
| chalk | 59.5% of shell-quote projects · 20.6× more than average |
| ws | 59.5% of shell-quote projects · 18.9× more than average |
| Ajv | 56.8% of shell-quote projects · 23.3× more than average |
From all 37 projects in our scan that use shell-quote, including the dependency samples.
By coding agent
| Claude Code | 0.2% of projects set up for it |
|---|
Share of public repos configured for each agent that list shell-quote as a dependency.
How shell-quote is funded
GitHub Sponsors
| @ljharb | 59 current sponsors |
|---|
GitHub shows how many people and companies sponsor an account, not how much they pay. Sponsors of a person back all of their work, which here includes qs, minimist.
Ways to fund shell-quote
As the maintainers list them in FUNDING.yml on GitHub. Checked Oct 20, 2026.
Install
| Package | npm install shell-quote |
|---|---|
| Main stacks | TypeScript / JavaScript (34), Python (2), Next.js (1) |
| Example projects | thedotmack/claude-mem, diegosouzapw/OmniRoute, getkimchi/kimchi, JrCx7scC/claude-code-source, LangcliTeam/langcli |
Alternatives to shell-quote
In our scan, none of the most used tools in Utilities does the same job as shell-quote: they are add-ons, companions or tools for a different task.
More in Utilities: clsx date-fns PyYAML uuid yaml js-yaml glob Lodash