Diagnose common pnpm environment issues.
Section: Patch, Review, and Troubleshooting
Check pnpm setup health
bash
bash
pnpm doctorExplanation
Diagnose common pnpm environment issues.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Patch, Review, and Troubleshooting
Patch a dependency
Extract a dependency for local edits before creating a patch.
Commit dependency patch
Create and register a patch after editing an extracted dependency.
Install while ignoring scripts
Avoid running package lifecycle scripts during install.
Approve dependency builds
Review and approve dependencies allowed to run build scripts.
List ignored dependency builds
Show packages whose build scripts were skipped by policy.