pnpx
Execute packages without installing them
TLDR
Run package without installing
$ pnpx [package] [args]
Run specific version$ pnpx [package]@[version] [args]
Run with package name different from command$ pnpx -p [package] [command]
SYNOPSIS
pnpx [options] package [args]
DESCRIPTION
pnpx executes npm packages without permanently installing them, similar to npx. It downloads the package to a temporary location, runs the specified command, and cleans up afterward.
This is an alias for pnpm dlx. Use -p to specify a package name when the executable name differs from the package name. The @version suffix allows running a specific package version.
PARAMETERS
PACKAGE
Package to execute.-p PKG
Package to install (if different from command).-c CMD
Command to run.--yes
Skip confirmation.--no
Refuse to install.
CAVEATS
Alias for pnpm dlx. Requires pnpm installed.
HISTORY
pnpx was created as pnpm's equivalent to npx for package execution.
