macOS
brew install install-peerdepslocal Homebrew formula metadata
brew
install-peerdeps のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install install-peerdepslocal Homebrew formula metadata
概要
CLI to automatically install peerDeps
履歴
install-peerdeps is a JavaScript command-line helper for installing an npm package together with its peer dependencies. It exists because npm's peer-dependency behavior made some package installs, especially linting presets, tedious to reproduce by hand.
The GitHub repository and npm package appeared in 2016. The README explains the motivation directly: starting with npm v3.0, peer dependencies were not automatically installed on npm install, and manually assembling the matching packages was awkward.
The README presents install-peerdeps as a memorable, cross-platform replacement for shell snippets that parse npm info output. It also notes visibility from Airbnb's ESLint config README while disclaiming any affiliation with Airbnb.
The release history shows the tool adapting to package-manager churn. Version 2.x addressed registry behavior, version 3.0.0 moved toward using package-manager commands to get package info, and later 3.x releases fixed Yarn, pnpm, Windows command spawning, version-range parsing, and dependency choices.
The npm registry metadata records the package from 2016 onward with dozens of published versions. Homebrew packages the npm tarball as a formula, which is notable because the project is primarily an npm CLI but also appears in a system package manager.
Adoption followed a practical JavaScript workflow need: installing packages such as eslint-config-airbnb with the exact peers listed by the package, while allowing npm, Yarn, and pnpm command paths.
The documented pattern is npx install-peerdeps package@version, or the Yarn and pnpm dlx equivalents. Flags control dev/global installs, installing only peers, dry runs, local node_modules lookup, and extra arguments passed through to the underlying package manager.
The canonical example installs eslint-config-airbnb and its peer ESLint plugins in one command, converting peerDependencies metadata into an install command the user can run or inspect.
install-peerdeps is package-nerd archaeology for the npm v3 peer-dependency era. It packaged a common README workaround into a reusable executable and preserved a slice of JavaScript ecosystem pain around peerDependencies, ESLint presets, npm, Yarn, pnpm, and Windows shells.
Its significance is not algorithmic complexity; it is workflow glue. Package managers changed peer-dependency behavior, and this small CLI became a bridge for users and docs that needed reproducible peer installs.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
install-peerdeps | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/nathanhleung/install-peerdeps
インストールメタデータ
| パッケージキー | brew:install-peerdeps |
|---|---|
| バージョン | 3.0.7 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/install-peerdeps |
| ホームページ | https://github.com/nathanhleung/install-peerdeps |
| リポジトリ | https://github.com/nathanhleung/install-peerdeps |
| 上流ドキュメント | https://github.com/nathanhleung/install-peerdeps#readme |
| ライセンス | MIT |
| ソースアーカイブ | https://registry.npmjs.org/install-peerdeps/-/install-peerdeps-3.0.7.tgz |
| 依存関係 | node |
| Bottle | 利用可能 (対象 all) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | install-peerdeps |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.