pkg.soopen package index

brew / 排名 6515

使用 Homebrew 安装 install-peerdeps

查看 install-peerdeps 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install install-peerdeps

local Homebrew formula metadata

概览

软件包摘要

CLI to automatically install peerDeps

命令和别名

  • 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.

时间线

  • 2016: GitHub repository and npm package created.
  • 2017: Early 1.x releases appear on npm.
  • 2019: 2.0.0 published in the npm release stream.
  • 2021: 3.0.0 published with package-manager-info changes.
  • 2025: 3.0.7 released with fixes for version-range, Yarn, and option-parsing issues.

Related projects

  • install-peerdeps is related to npm, Yarn, pnpm, npx, eslint-config-airbnb, ESLint plugin packaging, peerDependencies metadata, and JavaScript package-manager compatibility tools.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
install-peerdeps可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本3.0.7
管理器更新时间
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:install-peerdeps
版本3.0.7
软件包管理器Homebrew
主页https://github.com/nathanhleung/install-peerdeps
Bottle未记录
服务未声明

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • pkg.so package database
  • pkgdb category and tag curation