pnpm approve-builds

Category: Node.js & npm/yarn

pnpm approve-builds

Approve packages to run install scripts

Lists dependencies whose lifecycle scripts pnpm blocked and lets you approve them interactively, since pnpm 10 refuses unknown postinstall scripts by default. Approving runs the script on future installs, so only trust well-known packages. The --all flag approves everything pending.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.