Skip to content
zero2vibecodelearn vibe coding

What npm install does

npm install: Install all of the project's dependencies from package.json.

The npm command page covers what it does in general, with an example.

npminstall
  • npm— command — install and run JavaScript packages
  • install— subcommand — install the dependencies listed in package.json

What it does when you run it

$ npm install
added 1 package in 1s

Run it yourself

The same files. Nothing here can break, and nothing leaves your browser.

Explain other commands

Written by Mikhail Kuzmitskii