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.
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.
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
- Jestuses · Jest is a JavaScript testing framework for defining, running, and asserting automated tests.
- npmuses · npm is a package-management system for JavaScript, comprising a command-line client and an online registry for discovering, installing, and publishing packages.
- packageuses · A software package is a named grouping of modules or components, often with related resources and metadata, organized for import, reuse, distribution, or management.
- MCP Filesystem serveruses · An MCP Filesystem server is a Model Context Protocol server that exposes filesystem operations, such as listing, reading, writing, and deleting files, to connected clients.
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.

