2021-05-03 21:26:31 +05:30
|
|
|
# pnpx
|
|
|
|
|
|
|
|
> Directly execute binaries from npm packages, using `pnpm` instead of `npm`.
|
2024-05-22 21:51:44 +02:00
|
|
|
> Note: This command is deprecated! Use `pnpm exec` and `pnpm dlx` instead.
|
2024-10-16 16:51:26 +02:00
|
|
|
> More information: <https://cuyl.github.io/pnpm.github.io/pnpx-cli>.
|
2021-05-03 21:26:31 +05:30
|
|
|
|
2024-10-20 18:00:55 +02:00
|
|
|
- Execute the binary from a given `npm` module:
|
2021-05-03 21:26:31 +05:30
|
|
|
|
|
|
|
`pnpx {{module_name}}`
|
|
|
|
|
2024-10-20 18:00:55 +02:00
|
|
|
- Execute a specific binary from a given `npm` module, in case the module has multiple binaries:
|
2021-05-03 21:26:31 +05:30
|
|
|
|
|
|
|
`pnpx --package {{package_name}} {{module_name}}`
|
|
|
|
|
|
|
|
- Display help:
|
|
|
|
|
|
|
|
`pnpx --help`
|