macOS
brew install corepacklocal Homebrew formula metadata
brew
corepack のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install corepacklocal Homebrew formula metadata
nix profile install nixpkgs#corepacknixpkgs package indexes · pkgs/by-name/co/corepack/package.nix · ソース: api.github.com
sudo pacman -S corepackArch Linux sync databases · corepack · ソース: geo.mirror.pkgbuild.com
sudo zypper install corepack-defaultopenSUSE Tumbleweed package metadata · corepack-default · ソース: download.opensuse.org
概要
Package acting as bridge between Node projects and their package managers
履歴
Corepack is a Node.js package-manager shim and version manager that bridges a project to the package manager version it declares. It is most associated with Yarn and pnpm workflows, where the package.json packageManager field can select the expected tool and version.
The nodejs/corepack repository was created in 2020. Its README describes Corepack as a zero-runtime-dependency Node.js script that lets projects use Yarn, npm, and pnpm without installing each package manager globally.
Corepack was distributed with Node.js from version 14.19.0 up to, but not including, 25.0.0. That bundling made it a notable piece of Node's package-management story even for users who never installed the standalone package directly.
Corepack adoption followed the rise of package-manager pinning in JavaScript projects. Instead of relying on whatever yarn or pnpm binary happened to be globally installed, a project could declare the package manager in package.json and let Corepack fetch or activate a compatible version.
Common usage is to enable Corepack, then run package-manager commands such as yarn install or pnpm install in a project. Corepack reads package.json metadata, resolves the intended package manager version, and manages cached package-manager binaries rather than acting as the dependency installer itself.
Corepack is package-nerd infrastructure about package managers themselves. It moved version pinning for Yarn and pnpm closer to the Node runtime and made the package.json packageManager field operational, which changed how distributions and CI images think about globally installed JavaScript package tools.
セキュリティ状態
infrastructure mutation or orchestration signal.
リスク orange · 信頼度 中 · infrastructure
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
package.json実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
corepack | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/nodejs/corepack
インストールメタデータ
| パッケージキー | brew:corepack |
|---|---|
| バージョン | 0.35.0 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/corepack |
| ホームページ | https://github.com/nodejs/corepack |
| リポジトリ | https://github.com/nodejs/corepack |
| 上流ドキュメント | https://github.com/nodejs/corepack#readme |
| ライセンス | MIT |
| ソースアーカイブ | https://registry.npmjs.org/corepack/-/corepack-0.35.0.tgz |
| 最終更新 | 2026-05-15T21:25:02Z |
| Pulse | updated |
| 依存関係 | node |
| Bottle | 利用可能 (対象 all) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | corepack |
| Version Scheme | 0 |
| Revision | 0 |
| Conflicts With |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
corepack
nix profile install nixpkgs#corepackcorepack 0.34.6-1
Zero-runtime-dependency Node.js script
https://github.com/nodejs/corepack
sudo pacman -S corepackcorepack-default 6.1-5.2
Default version of corepack
https://github.com/AdamMajer/nodejs-packaging
sudo zypper install corepack-defaultソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.