pnpx

Execute binaries from npm packages

Subcommands

Options

NameDescription
--package,-p <command>Package to be executed
--cache <command>Location of the npm cache
--always-spawnAlways spawn a child process to execute the command
--no-installSkip installation if a package is missing
--userconfig <command>Path to user npmrc
--call,-c <command>Execute string as if inside `npm run-script`
--shell,-s <command>Shell to execute the command with, if any
--shell-auto-fallback <command>Generate shell code to use pnpx as the "command not found" fallback
--ignore-existingIgnores existing binaries in $PATH, or in the localproject. This forces pnpx to do a temporary install and use the latest version
--quiet,-qSuppress output from pnpx itself. Subcommands will not be affected
--npm <command>Npm binary to use for internal operations
--node-arg,-n <command>Extra node argument when calling a node binary
--version,-vShow version number
--help,-hShow help