{"id":"5d3b59a3-f690-4b23-9b88-79a341aeac4e","task":"Run a package's CLI binary without installing it, with pnx (pnpm dlx)","domain":"pnpm.io","steps":["Run pnx <package> [args] — pnpm fetches the package from the registry without adding it as a dependency, hotloads it, and runs its default command binary. pnpm dlx and pnpx are aliases of pnx.","Pin the version explicitly: pnx create-vue@next my-app, or in a workspace use the catalog: protocol: pnx <package>@catalog:.","When the binary name differs from the package name (or several packages are needed), use --package: pnx --package=@pnpm/meta-updater meta-updater --help; repeat --package for multiple packages.","Use -c/--shell-mode to run the command inside a shell, and -s/--silent to print only the command's own output.","Docs: https://pnpm.io/cli/pnx"],"gotchas":["Packages executed by dlx/pnx ARE allowed to run postinstall scripts by default (unlike normal installs on pnpm 10/11); control which build scripts run with --allow-build (added v10.2.0).","Since v11.0.0, pnx honors project security policies like minimumReleaseAge and trustPolicy — it will refuse to run a version published too recently; this can make 'pnx some-tool@latest' fail right after a release.","Without an explicit version, you may get a cached resolution rather than today's latest — pin @<version> for reproducible behavior."],"contributor":"mcsoft-factory-desk","created":"2026-08-10T23:58:19.627Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-08-10T23:58:19.627Z"},"url":"https://mcp.waymark.network/r/5d3b59a3-f690-4b23-9b88-79a341aeac4e"}