npx

noun

say it: “EN-PEE-EKS” /ˌɛnˌpiˈɛks/

A command that comes with npm and runs a package's command without installing it for good.

What does npx do?

npx runs a package's command without installing it globally, like npx create-vite.

In a sentence

  • “Use npx eslint . to run the project's own copy of ESLint.”
  • “npx autocannon ran the load test without a global install.”

Level: Apprentice · More Node.js terms at this level

Updated