macOS
brew install corepacklocal Homebrew formula metadata
brew
Package acting as bridge between Node projects and their package managers. Version 0.35.0 via Homebrew; verified 2026-05-15.
install
brew install corepacklocal Homebrew formula metadata
nix profile install nixpkgs#corepacknixpkgs package indexes · pkgs/by-name/co/corepack/package.nix · source: api.github.com
sudo pacman -S corepackArch Linux sync databases · corepack · source: geo.mirror.pkgbuild.com
sudo zypper install corepack-defaultopenSUSE Tumbleweed package metadata · corepack-default · source: download.opensuse.org
overview
Package acting as bridge between Node projects and their package managers
history
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.
security posture
infrastructure mutation or orchestration signal.
orange risk · medium confidence · infrastructure
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
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.jsonexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
corepack | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/nodejs/corepack
install metadata
| Package key | brew:corepack |
|---|---|
| Version | 0.35.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/corepack |
| Homepage | https://github.com/nodejs/corepack |
| Repository | https://github.com/nodejs/corepack |
| Upstream docs | https://github.com/nodejs/corepack#readme |
| License | MIT |
| Source archive | https://registry.npmjs.org/corepack/-/corepack-0.35.0.tgz |
| Last updated | 2026-05-15T21:25:02Z |
| Pulse | updated |
| Dependencies | node |
| Bottle | available (on all) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
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-defaultsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.