liveBook · Manning

Npx

npx is an npm command-line package runner that executes package-provided binaries from local dependencies or downloads packages when needed, without requiring global installation.

How 2 Manning books explain it

Bootstrapping Microservices, Second Edition: With Docker, Kubernetes, GitHub Actions, and Terraform

A Node.js command-line utility for executing packages installed in a project's local dependencies.

How it is used
Runs project-local Node.js tools for development workflows and automated testing.
How deep it goes
Explains local command execution, version isolation, and development dependency usage, but does not detail npx internals.
Examples
Uses npx nodemon src/index.js and npx jest --init as runnable project commands.
What you can do after
Operate locally installed Node.js tools while keeping project versions explicit and production installations smaller.

Read how Bootstrapping Microservices, Second Edition: With Docker, Kubernetes, GitHub Actions, and Terraform explains npx →

Build Financial Software with Generative AI (From Scratch)

npx is a command-line package runner distributed with npm for executing packages without requiring a global installation.

How it is used
Simplifies initializing a Next.js dashboard and verifying its local development setup.
How deep it goes
Defines npx as a command-line tool and demonstrates one project-generation command without explaining its internal execution model.
Examples
Uses create-next-app@latest to generate a Next.js project and checks its default page at localhost:3000.
What you can do after
Operate/configure a Next.js project by generating it with create-next-app and launching its development server.

Read how Build Financial Software with Generative AI (From Scratch) explains npx →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.