2021-05-03 16:56:31 +01:00
|
|
|
# pnpx
|
|
|
|
|
|
|
|
> Directly execute binaries from npm packages, using `pnpm` instead of `npm`.
|
2024-05-22 20:51:44 +01:00
|
|
|
> Note: This command is deprecated! Use `pnpm exec` and `pnpm dlx` instead.
|
|
|
|
> More information: <https://web.archive.org/web/20220117192755/https://pnpm.io/pnpx-cli>.
|
2021-05-03 16:56:31 +01:00
|
|
|
|
|
|
|
- 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`
|