Node.js package manager
high risk
Installs Node packages. See the flags and examples below, and run `man npm` for the full reference.
| Flag | Meaning |
|---|---|
install | Install |
ci | Clean install from lockfile |
audit | Check vulnerabilities |
-g | -g⚠ Global install |
--ignore-scripts --ignore-scripts | Skip install scripts |
npm ciReproducible install · explain & risk-check →npm auditVulnerabilities · explain & risk-check →Reference text is hand-written and may be incomplete — check man npm for your version. Test destructive commands on a non-production system first.