npx
ELI5 — The Vibe Check
npx is the 'try before you buy' of the npm world — it lets you run a package without permanently installing it. Need to scaffold a new project with create-react-app? npx handles it without cluttering your global installs. It's like renting a power tool instead of buying one you'll use once. It also runs locally installed packages without the ./node_modules/.bin/ path dance.
Real Talk
npx is a CLI tool bundled with npm (v5.2+) that executes packages from the npm registry or local node_modules without global installation. It resolves and runs binaries from packages, caches them temporarily, and supports version-specific execution. It's commonly used for project scaffolding, one-off tools, and running local binaries.
When You'll Hear This
"npx create-next-app sets up a new project without installing anything globally." / "Use npx to run the locally installed version of a tool instead of a potentially different global version."
Related Terms
Bun
Bun is the new kid on the JavaScript block who showed up and immediately started doing everything faster than Node.
npm
npm is like a vending machine for code. You say 'I want React' and it delivers React, plus React's 47 friends, plus their friends' friends.
Package Manager
A package manager is the app store for your code — it downloads libraries, manages versions, and makes sure everything plays nice together. It's like a gro