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

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

## インストール

```sh
sudo av install brew:corepack
```

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

### macOS

- Homebrew (100%):

```sh
brew install corepack
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#corepack
```

  証拠: nixpkgs package indexes: pkgs/by-name/co/corepack/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S corepack
```

  証拠: Arch Linux sync databases: corepack from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install corepack-default
```

  証拠: openSUSE Tumbleweed package metadata: corepack-default from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:corepack
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/corepack>
- **バージョン:** 0.35.0
- **ソース概要:** Package acting as bridge between Node projects and their package managers
- **ホームページ:** <https://github.com/nodejs/corepack>
- **リポジトリ:** <https://github.com/nodejs/corepack>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://registry.npmjs.org/corepack/-/corepack-0.35.0.tgz>
- **最終更新:** 2026-05-15T21:25:02Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- corepack (cli)
- corepack (エイリアス)

## 依存関係

- node

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 all

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 0.35.0
- マネージャ更新日: 2026-05-15
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/nodejs/corepack
- 情報: No cached GitHub release or tag data was available.
## プロジェクトの歴史と使われ方

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.

### ソース

- <https://github.com/nodejs/corepack>
- <https://github.com/nodejs/corepack#readme>
- <https://github.com/nodejs/corepack/releases>
- <https://nodejs.org/api/corepack.html>
- <https://nodejs.org/api/packages.html#packagemanager>


## セキュリティノート

infrastructure mutation or orchestration signal.

- **Geiger リスク:** orange / 中
- infrastructure mutation or orchestration signal


## 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

- Unix: package.json
## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** corepack
- **Version Scheme:** 0
- **Revision:** 0
- **Conflicts With:** hadoop, pnpm, yarn
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- Nix - corepack: normalized package name match | nixpkgs package indexes: pkgs/by-name/co/corepack/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - corepack - 0.34.6-1: normalized package name match | Arch Linux sync databases: corepack from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Zero-runtime-dependency Node.js script | https://github.com/nodejs/corepack
- zypper - corepack-default - 6.1-5.4: normalized package name match | openSUSE Tumbleweed package metadata: corepack-default from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Default version of corepack | https://github.com/AdamMajer/nodejs-packaging


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Package publisher tools](https://pkg.so/ja/package-publishers/) - Belongs to a package publishing or registry command family.
- [Secret-risk packages](https://pkg.so/ja/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [node](https://pkg.so/ja/brew/node/) - Runtime dependency declared by Homebrew.
- [pnpm](https://pkg.so/ja/brew/pnpm/) - Shares pkgdb curated category or tags: cli, developer-tools, javascript, nodejs, package-management.
- [ni](https://pkg.so/ja/brew/ni/) - Shares pkgdb curated category or tags: cli, developer-tools, nodejs, npm, package-management.
- [nrm](https://pkg.so/ja/brew/nrm/) - Shares pkgdb curated category or tags: cli, developer-tools, javascript, nodejs, npm.
- [qnm](https://pkg.so/ja/brew/qnm/) - Shares pkgdb curated category or tags: cli, developer-tools, javascript, nodejs, npm.
- [npm-check-updates](https://pkg.so/ja/brew/npm-check-updates/) - Shares pkgdb curated category or tags: cli, developer-tools, nodejs, npm, package-management.
- [patch-package](https://pkg.so/ja/brew/patch-package/) - Shares pkgdb curated category or tags: cli, developer-tools, nodejs, npm, package-management.
- [orogene](https://pkg.so/ja/brew/orogene/) - Shares pkgdb curated category or tags: cli, developer-tools, nodejs, package-management, package-manager.
- [mint](https://pkg.so/ja/brew/mint/) - Shares pkgdb curated category or tags: cli, developer-tools, package-management, package-manager.
- [corepack](https://pkg.so/ja/npm/corepack/) - Same normalized package name appears in another local ecosystem. Shared terms: cli, corepack, developer, developer-tools, management.
- [corepack](https://pkg.so/ja/npm/corepack/) - Same normalized package name in another local ecosystem.

## Combined YAML source

View the package source record on GitHub. [combined/corepack.yml](https://github.com/mxcl/pkgdb/blob/main/combined/corepack.yml)


## ソース

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