13 · Environments & Packaging

npx

Run a package without installing it

A companion to npm that runs a package once, on demand, without permanently installing it — handy for one-off tools and project scaffolding.

Concrete example

“npx create-next-app” spins up a brand-new project without installing the generator first.