tldr/pages/common/pnpx.md

17 lines
384 B
Markdown

# pnpx
> Directly execute binaries from npm packages, using `pnpm` instead of `npm`.
> More information: <https://pnpm.io/pnpx-cli>.
- Execute the binary from a given npm module:
`pnpx {{module_name}}`
- Execute a specific binary from a given npm module, in case the module has multiple binaries:
`pnpx --package {{package_name}} {{module_name}}`
- Display help:
`pnpx --help`