Download a package temporarily and run its binary.
Section: Execution helpers
Run a package temporarily
bash
bash
npm exec --package cowsay -- cowsay helloExplanation
Download a package temporarily and run its binary.
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 Execution helpers
Run a binary from a package
Run a local binary inside the project context.
Create a new workspace
Create a workspace and update the root workspaces list.