Description
Recreates `node_modules` with the package manager command that fits the project. It is useful for Node.js development and CI jobs that need clean dependency installs without remembering whether the project uses npm, pnpm, yarn, or another tool.
Dependency installation runs package scripts and downloads code. Use trusted lockfiles, avoid untrusted repositories, and review CI environments before executing installs automatically.