Skip to content

pnpm version seems to still be using npm version [11.0.0-rc.3] #11328

@axel7083

Description

@axel7083

Verify latest release

  • I verified that the issue exists in the latest pnpm release

pnpm version

11.0.0-rc.3

Which area(s) of pnpm are affected? (leave empty if unsure)

CLI

Link to the code that reproduces this issue or a replay of the bug

No response

Reproduction steps

$: pnpm --version
11.0.0-rc.3
$: pnpm version --no-git-tag-version --workspaces 0.14.0
[...]
npm error code EUNSUPPORTEDPROTOCOL
npm error Unsupported URL Type "workspace:": workspace:^
npm error A complete log of this run can be found in: /home/axel7083/.npm/_logs/2026-04-21T10_16_00_100Z-debug-0.lo

Describe the Bug

Weirdly enough running pnpm version --help seems to redirect to the npm version

$: pnpm version --help
Bump a package version

Usage:
npm version [<newversion> | major | minor | patch | premajor | preminor | prepatch | prerelease | from-git]

Options:
[--allow-same-version] [--no-commit-hooks] [--no-git-tag-version] [--json]
[--preid prerelease-id] [--sign-git-tag]
[-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
[-ws|--workspaces] [--no-workspaces-update] [--include-workspace-root]

alias: verison

Run "npm help version" for more info

However, the pnpm help version seems to redirect to the expected command

$: pnpm help version
Version 11.0.0-rc.3
Usage: pnpm version <newversion>
       pnpm version <major|minor|patch|premajor|preminor|prepatch|prerelease>

Bumps the version of a package.

Options:
      --allow-same-version           Allow bumping to the same version
      --filter <pattern>             Filter packages by name (glob pattern)
      --json                         Show information in JSON format
      --message <message>            Commit message. "%s" is replaced with the new version. Default is "%s".
      --no-commit-hooks              Skip running git commit hooks when committing the version bump
      --no-git-checks                Don't check if working tree is clean
      --no-git-tag-version           Don't create a commit or tag for the version bump. Git commits and tags are always skipped in recursive mode.
      --preid <preid>                Sets the prerelease identifier (e.g. alpha, beta, rc)
      --recursive                    Apply command to all packages in workspace
      --sign-git-tag                 Sign the generated git tag with GPG
      --tag-version-prefix <prefix>  Sets the tag prefix. Default is "v". Set to empty string to remove the prefix.

Expected Behavior

We should have the newly pnpm version added in #10879

Which Node.js version are you using?

24

Which operating systems have you used?

  • macOS
  • Windows
  • Linux

If your OS is a Linux based, which one it is? (Include the version if relevant)

Fedora

cc @kairosci @zkochan

Metadata

Metadata

Assignees

Labels

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions