Skip to main content

npm CLI 12.2.3

Release Date: November 18, 2026

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.

  • unpublish guard — 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).
  • npx cache with --dry-run — libnpmexec installs the npx cache even when dryRun or packageLockOnly is 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.3 and 10.9.11 carry the same Git Bash and orphan fixes for projects pinned to older majors.

Update with npm install -g [email protected].

We use cookies for ads and analytics.