Many package managers have a flag to only update the lockfile and not do an installation. This is useful for vendor framework integration which might want to add additional packages without it affecting anything else.
| cli |
flag |
npm |
--package-lock-only |
pnpm |
--lockfile-only |
bun |
--lockfile-only |
yarn |
N/A |
deno |
N/A |
Version: Deno 2.5.6