# nodejs/corepack

Package manager version manager for Node.js projects

Repository: https://github.com/nodejs/corepack
Canonical: https://ross.abutalabs.com/products/corepack
Language: TypeScript
License: MIT
License Family: permissive
Topics: yarn, pnpm, npm, nodejs
Last push: 2026-08-21T00:23:32+00:00

## Health v2 (maintenance only)
Score: 89/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 72, longevity 100
- inputs: {"age_days": 2365, "days_push": 13, "days_rel": 110, "gap_med": 47, "n_releases_24m": 14}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3793, forks 275 (observed 2026-08-28T04:08:18.846374+00:00)

## What it is
Corepack is a zero-dependency Node.js tool that manages and proxies Yarn, npm, and pnpm versions per project, so developers don't need to install package managers globally. It reads project configuration to download and run the correct package manager version automatically.

## Use cases
- use yarn and pnpm without installing them globally
- pin package manager versions per project
- ensure team members use the same package manager version
- prevent running the wrong package manager in a project
- manage package manager versions across many node projects

## When to choose
- you work across multiple Node.js projects using different package managers or versions
- you want reproducible package manager versions checked into your repo
- you want to avoid global yarn/pnpm installs

## When to avoid
- you only use npm and don't need version pinning
- you prefer managing package managers via a version manager like nvm or asdf
- you're on Node.js 25+ where Corepack is no longer bundled

## Facets
- artifact type: cli-tool
- maturity: active
- function: package-manager, developer-tools, cli
- domain: developer-tools, web-development
- platform: cross-platform, cli
- tags: yarn, pnpm, npm, version-manager, javascript, command-line, nodejs

## Member repositories
- nodejs/corepack (main) score 89

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:18.846374+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:27:02.417486+00:00, confidence not recorded.
  - readme: https://github.com/nodejs/corepack (fetched 2026-08-28T04:08:18.846374+00:00, sha 46d71ba4f3a3)
  - registry_npm: https://registry.npmjs.org/corepack (fetched 2026-08-29T09:22:04.406081+00:00, sha f50bf5c8d9cd)
- Data as of 2026-08-30T08:39:29.467469+00:00.
