1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-03 14:35:24 +02:00
tldr/pages/common/pnpx.md
2024-05-22 21:51:44 +02:00

503 B

pnpx

Directly execute binaries from npm packages, using pnpm instead of npm. 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.

  • 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