npx Explained
What npx does, with an example.
Published November 11, 2026
npx executes a package's binary without needing to install it globally first, downloading it temporarily if needed.
Key points
- Part of the standard npm CLI that ships with Node.js
Example
npx create-react-app my-app