pnpm CI, Env, and Patching/Install while ignoring scripts

Avoid running package lifecycle scripts during install.

Section: Patch, Review, and Troubleshooting

Install while ignoring scripts

bash
bash
pnpm install --ignore-scripts
Explanation

Avoid running package lifecycle scripts during install.

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
Approve dependency builds
Review and approve dependencies allowed to run build scripts.
OpenIn sheetbashsame section
List ignored dependency builds
Show packages whose build scripts were skipped by policy.
OpenIn sheetbashsame section
Patch a dependency
Extract a dependency for local edits before creating a patch.
OpenIn sheetbashsame section
Commit dependency patch
Create and register a patch after editing an extracted dependency.
OpenIn sheetbashsame section
Rebuild dependencies
Re-run dependency build scripts.
OpenIn sheetbashsame section
Check pnpm setup health
Diagnose common pnpm environment issues.
OpenIn sheetbashsame section