Automic VaultAutomic Vault

brew

corepack を Homebrew, Nix, pacman, zypper でインストール

corepack のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install corepack

local Homebrew formula metadata

Linux

Nix確認済み · 92%
nix profile install nixpkgs#corepack

nixpkgs package indexes · pkgs/by-name/co/corepack/package.nix · ソース: api.github.com

Arch Linux pacman確認済み · 92%
sudo pacman -S corepack

Arch Linux sync databases · corepack · ソース: geo.mirror.pkgbuild.com

openSUSE zypper確認済み · 92%
sudo zypper install corepack-default

openSUSE Tumbleweed package metadata · corepack-default · ソース: download.opensuse.org

概要

パッケージ概要

Package acting as bridge between Node projects and their package managers

コマンドとエイリアス

  • corepack

履歴

プロジェクトの歴史と使われ方

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.

タイムライン

  • 2020: nodejs/corepack repository created.
  • 2021-2022: Corepack distributed with Node.js 14.19.0 and newer supported Node release lines.
  • 2026: v0.35.0 released upstream as Node.js no longer bundles Corepack starting with the Node 25 line.

Related projects

  • Corepack is related to Node.js, npm, Yarn, pnpm, the package.json packageManager field, and JavaScript CI/runtime distribution images.

セキュリティ状態

リスクレベル: orange

infrastructure mutation or orchestration signal.

リスク分類器

リスク orange · 信頼度 中 · infrastructure

理由

  • infrastructure mutation or orchestration signal

信号

  • text:package manager

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 1 個のプラットフォームターゲットで利用できます。
  • 1 件の実行時依存関係とともにインストールされます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
package.json

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
corepackcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版0.35.0
マネージャ更新日2026-05-15
ローカルデータOK
上流not checked
検出された最新未検出

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
Pulseupdated
依存関係node
Bottle利用可能 (対象 all)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecorepack
Version Scheme0
Revision0
Conflicts With
  • hadoop
  • pnpm
  • yarn
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

corepack

nix profile install nixpkgs#corepack
  • normalized package name match
  • 一致条件: Corepack
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/co/corepack/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
pacman95%

corepack 0.34.6-1

Zero-runtime-dependency Node.js script

https://github.com/nodejs/corepack

sudo pacman -S corepack
  • License: MIT
  • Architecture: any
  • 1 依存関係
  • normalized package name match
  • 一致条件: Corepack
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: corepack from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

corepack-default 6.1-5.2

Default version of corepack

https://github.com/AdamMajer/nodejs-packaging

sudo zypper install corepack-default
  • License: MIT
  • Category: Development/Languages/NodeJS
  • Architecture: x86_64
  • Source Package: nodejs-common
  • 2 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Corepack
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: corepack-default from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment