npm CLI 12.2.3
npm 12.2.3 is out. Four fixes, a dependency bump, and matching backports to the 11.x and 10.x lines, all tagged on November 18, 2026.
Nothing new to learn. The release closes gaps in unpublish, install script checks, npx caching, and Windows shell detection.
unpublishguard — the command refuses to remove a version when the registry reports no versions at all, instead of continuing against an empty package (PR #10117).- Install script checks — disconnected orphan packages are skipped, so a broken link in the tree no longer fails the script check step (PR #10068).
npxcache with--dry-run—libnpmexecinstalls the npx cache even whendryRunorpackageLockOnlyis set, which fixes resolution failures in those modes (PR #10135).- Windows shell detection — Git Bash from UCRT64 is treated as a unix shell, so lifecycle scripts stop receiving Windows-style paths (PR #10191).
- Dependency bump —
[email protected], along with workspace updates to@npmcli/[email protected],@npmcli/[email protected]and[email protected](PR #10254). - Parallel backports —
11.21.3and10.9.11carry the same Git Bash and orphan fixes for projects pinned to older majors.
Update with npm install -g [email protected].