install-peers-cli is a command-line interface (CLI) tool designed to manage and install a project's `peerDependencies` without unintended side effects. Currently at stable version 2.2.0, it supports both `npm` and `yarn` package managers, including `yarn workspaces`. A key differentiator is its "pure" approach: it installs peer dependencies without modifying the project's `package.json` file or updating lock files (like `package-lock.json` or `yarn.lock`). This ensures a clean development environment and predictable dependency resolution, allowing developers to manage peer dependencies manually or through CI/CD pipelines without altering the project's core dependency manifests. The release cadence appears irregular, driven by contributions and specific feature needs, rather than a fixed schedule.
npm install install-peers-cliVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to add `install-peers-cli` as a development dependency and use a `package.json` script to install declared `peerDependencies`.
These warnings are often harmless in this context. Ensure your `peerDependencies` are correctly listed and installed via the `install-peers` script.
Manually review and update `peerDependencies` versions in your `package.json` to ensure they align with the versions of the packages they depend on.
Always execute the command via `npm run install-peers` (if defined in scripts), `npx install-peers-cli`, or specify the full path to the executable: `./node_modules/.bin/install-peers`.
Use `npm run install-peers` (if configured in `package.json` scripts) or `npx install-peers-cli`.
Check the output immediately preceding this error for more specific details from `install-peers-cli` (e.g., dependency resolution issues, network problems).
Ensure `install-peers-cli` is installed as a `devDependency` and run it using `npm run install-peers` or `npx install-peers-cli`.
No dependency data recorded yet.