# Package Versions, npm ci and npm audit

A version range in package.json says which versions a project accepts, package-lock.json pins the exact ones installed, npm ci installs exactly those, and npm outdated, npm audit and npx check a project for updates, check it for security problems and run a package's command.

![Cheat sheet: Package Versions, npm ci and npm audit](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/4b5f09df9a114698b5da7d4985db1bff.webp)

- Category: Node.js
- Level: Apprentice
- Tags: JavaScript, nodejs, npm audit, npm ci, npx, package-lock.json, Semantic Versioning (nodejs), Version Range
- Author: Gregor Dzierzon
- Updated: November 23, 2026

Source: https://www.ask-codey.com/cheat-sheets/node-npm-versions-and-lock-file-cheat-sheet
