pnpm Install and Dependencies/Install without lockfile

Avoid generating or using a lockfile in temporary scenarios.

Section: Lockfiles and Reproducibility

Install without lockfile

bash
bash
pnpm install --no-lockfile
Explanation

Avoid generating or using a lockfile in temporary scenarios.

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 Lockfiles and Reproducibility
Clean install from lockfile
Perform a clean install from an existing lockfile.
OpenIn sheetbashsame section
Prefer frozen lockfile
Prefer a frozen install but allow lockfile generation when needed.
OpenIn sheetbashsame section
Check lockfile status in Git
Inspect lockfile changes after dependency operations.
OpenIn sheetbashsame section
Show outdated packages with details
Display richer outdated dependency information.
OpenIn sheetbashsame section
Add production dependency
Save package to dependencies.
OpenIn sheetbash1 tag match
Install dist-tag
Install a package using a registry dist-tag.
OpenIn sheetbash1 tag match