PNpM CLI

pnpm/pnpm last check crawl paused · since 2026-09-25 707 releases
Notes
no notes yet
Release notes
view on github
3.7.3 · 1y+

Features

  • the workspace: protocol (like in Yarn v2). When this protocol is used pnpm will refuse to resolve to anything else than a local workspace package. The workspace protocol should be followed by a semver range. For instance, "foo": "workspace:^1.2.3" (via #1920)
  • pnpm list improvements:
    • the dev-only and optional-only dependencies are colored (#1094, #1937) image
    • search by pattern is supported. For example: pnpm ls babel-* (#1303)
    • added support for the --json flag (#1915, #1900)
  • pnpm outdated: selection by pattern is supported. For instance: pnpm outdated @types/* (#1949, #1950)

Bug Fixes

  • pnpm should not fail with --no-optional when the lockfile is up-to-date (#1958, #1959)
  • link: don't prune too much from the target project (08935718d3bfd78077e10c4080b63da578756b0e)
  • always show the CLI cursor (#1961)
  • pnpm run cmd -- -h should pass -h to cmd (#1956)