From 261e3cfdf267def26d8f424b3c063e0c4f1ffba8 Mon Sep 17 00:00:00 2001 From: Misha Kaletsky <15040698+mmkal@users.noreply.github.com> Date: Thu, 1 Feb 2024 15:37:23 -0500 Subject: [PATCH] add `--no-frozen-lockfile` to install docs I knew CI => frozen lockfile, but wasn't sure of the right way to negate it. I guessed `--fix-lockfile`, but that caused too many changes. I took the wording from the CLI message by doing `CI=1 pnpm install`. --- docs/cli/install.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/cli/install.md b/docs/cli/install.md index c6848e137005..59872e7a9587 100644 --- a/docs/cli/install.md +++ b/docs/cli/install.md @@ -8,7 +8,8 @@ Aliases: `i` `pnpm install` is used to install all dependencies for a project. In a CI environment, installation fails if a lockfile is present but needs an -update. +update. If you still need to run install in such cases, use `pnpm install --no +-frozen-lockfile`. Inside a [workspace], `pnpm install` installs all dependencies in all the projects. If you want to disable this behavior, set the `recursive-install`