npm

Node.js package manager

high risk

interactive breakdown — edit the command and press Explain
$ 
⚠ Risks & cautions
What it does

Installs Node packages. See the flags and examples below, and run `man npm` for the full reference.

Common flags
FlagMeaning
installInstall
ciClean install from lockfile
auditCheck vulnerabilities
-g-g⚠ Global install
--ignore-scripts --ignore-scriptsSkip install scripts
Examples
npm ciReproducible install · explain & risk-check →
npm auditVulnerabilities · explain & risk-check →
Open the full explainer →More in Packages & Build

Reference text is hand-written and may be incomplete — check man npm for your version. Test destructive commands on a non-production system first.