Automic VaultAutomic Vault

brew

Install corepack with Homebrew, Nix, pacman, zypper

Package acting as bridge between Node projects and their package managers. Version 0.35.0 via Homebrew; verified 2026-05-15.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install corepack

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#corepack

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

Arch Linux pacmanverified · 92%
sudo pacman -S corepack

Arch Linux sync databases · corepack · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install corepack-default

openSUSE Tumbleweed package metadata · corepack-default · source: download.opensuse.org

overview

Package summary

Package acting as bridge between Node projects and their package managers

Commands and aliases

  • corepack

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

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

security posture

Risk level: orange

infrastructure mutation or orchestration signal.

Risk classifier

orange risk · medium confidence · infrastructure

Why

  • infrastructure mutation or orchestration signal

Signals

  • text:package manager

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 1 platform targets.
  • Installs with 1 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

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

executables

Installed executables

CommandKindExposureNote
corepackcliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version0.35.0
manager updated2026-05-15
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/nodejs/corepack

install metadata

Package metadata

Package keybrew:corepack
Version0.35.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/corepack
Homepagehttps://github.com/nodejs/corepack
Repositoryhttps://github.com/nodejs/corepack
Upstream docshttps://github.com/nodejs/corepack#readme
LicenseMIT
Source archivehttps://registry.npmjs.org/corepack/-/corepack-0.35.0.tgz
Last updated2026-05-15T21:25:02Z
Pulseupdated
Dependenciesnode
Bottleavailable (on all)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

corepack

nix profile install nixpkgs#corepack
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: 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

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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