Verify latest release
pnpm version
10.10.0
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
https://github.com/tusharsnx/Clouddy
Reproduction steps
- Clone the repository.
- Run
pnpm i.
Describe the Bug
pnpm fails to install the required version of pnpm for the project. The --allow-build flag in the installation command conflicts with dangerously-allow-all-builds enabled in the config.

Expected Behavior
Pnpm installs the required package manager version and installs the project dependencies with no issue.
Which Node.js version are you using?
22.15.0
Which operating systems have you used?
If your OS is a Linux based, which one it is? (Include the version if relevant)
Ubuntu 24.04