pnpm CI, Env, and Patching/CI install with frozen lockfile

Common CI install pattern that refuses lockfile changes.

Section: CI and Lockfiles

CI install with frozen lockfile

bash
bash
pnpm install --frozen-lockfile
Explanation

Common CI install pattern that refuses lockfile changes.

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 CI and Lockfiles
Fetch packages into virtual store
Fetch packages into the store without linking node_modules; useful in image builds.
OpenIn sheetbashsame section
Update lockfile only
Refresh the lockfile without changing node_modules.
OpenIn sheetbashsame section
Install production deps only
Install only production dependencies.
OpenIn sheetbashsame section
Prune to production deps
Remove devDependencies from an existing install.
OpenIn sheetbashsame section
List installed Node.js versions
Show Node versions installed by pnpm env.
OpenIn sheetbash1 tag match
Patch a dependency
Extract a dependency for local edits before creating a patch.
OpenIn sheetbash1 tag match