pnpx Command Examples
Directly execute binaries from npm packages, using
pnpminstead ofnpm. Note: This command is deprecated! Usepnpm execandpnpm dlxinstead. More information: https://cuyl.github.io/pnpm.github.io/pnpx-cli.
- Execute the binary from a given
npmmodule:
pnpx {{module_name}}
- Execute a specific binary from a given
npmmodule, in case the module has multiple binaries:
pnpx --package {{package_name}} {{module_name}}
- Display help:
pnpx --help