Run a package executable without adding it to scripts.
Section: Core npm CLI
Run a package binary with npx
bash
bash
npx <command>Explanation
Run a package executable without adding it to scripts.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Core npm CLI
Run a package binary
Run a binary from local dependencies or a temp package.
Initialize package.json with defaults
Create package.json using defaults.