pnpm ci
Aliases: clean-install, ic, install-clean
Perform a clean install. pnpm ci validates that pnpm-lock.yaml exists and is up to date before removing node_modules, then runs pnpm clean followed by pnpm install --frozen-lockfile.
Designed for CI/CD environments where reproducible builds are critical.
pnpm ci
Options#
pnpm ci accepts the options of pnpm install, such as --prod, --offline, and --filter.