#2024·oclif

Tool is incompatible with PNPM v11

Author: jfeingold35Created May 14, 2026Updated May 14, 2026
Labelsenhancement

Is this a bug with the oclif CLI? Or the oclif framework?

It's a bug with the CLI.

Describe the bug The CLI does not work with PNPM v11. If you have PNPM v11 installed and you try to use it, it fails.

To Reproduce Steps to reproduce the behavior:

  1. npm install --global pnpm@^10
  2. /Users/me/Code/oclif/oclif/bin/dev.js generate mycli --yes --module-type CommonJS --package-manager pnpm
  3. Observe that the command succeeds.
  4. rm -rf mycli
  5. npm install --global pnpm@^11
  6. /Users/me/Code/oclif/oclif/bin/dev.js generate mycli --yes --module-type CommonJS --package-manager pnpm`
  7. Observe failure.

Expected behavior Command should succeed the way it does with v10.

Your Environment (please complete the following information):

Any.

Additional context The problem is that v11 made some pretty significant changes from v10 that render it incompatible with the current state of the CLI. We're aware of this, and we have plans to deal with it in the fullness of time. In the meantime, we greatly appreciate your patience.