CLI commandsManage dependenciespnpm dedupeVersion: 9.xOn this pagepnpm dedupePerform an install removing older dependencies in the lockfile if a newer version can be used. Options --check Check if running dedupe would result in changes without installing packages or editing the lockfile. Exits with a non-zero status code if changes are possible.