liveBook · Manning

Npm install

npm install is an npm command that resolves and installs the dependencies declared by a JavaScript or Node.js package.

How 2 Manning books explain it

Road to Kubernetes

npm install is an npm command that installs project dependencies declared by a Node.js package.

How it is used
Installs Node.js project dependencies during manual deployment, Git pushes, and Docker image construction.
How deep it goes
Shows command placement in deployment hooks and Dockerfiles, but does not explain npm's dependency-resolution internals.
Examples
Uses an Express.js project command sequence, a Git post-receive hook, and a Node.js Dockerfile.
What you can do after
Operate npm to install dependencies manually, after repository pushes, or while building a Node.js container image.

Read how Road to Kubernetes explains npm install →

Essential TypeScript 5, Third Edition

npm install is an npm command that installs project packages and updates the project's installation metadata.

How it is used
Manages project packages, their transitive dependencies, and installation metadata for TypeScript and JavaScript development.
How deep it goes
Explains local and global scope, dependency resolution, metadata sections, and version selection without detailing npm’s internal resolver.
Examples
Uses TypeScript tooling, tsc-watch, and @types/debug to demonstrate project installation and declaration support.
What you can do after
Operate npm install to restore project packages, add runtime or development dependencies, and install third-party declarations.

Read how Essential TypeScript 5, Third Edition explains npm install →

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.