🍺 BREW Explorer

← all formulae

corepack

brew install corepack v0.35.0 MIT

Package acting as bridge between Node projects and their package managers

956
30-day installs · #1323
2.6k
90-day · #1434
5.1k
365-day · #1921
3.7k
★ GitHub stars · updated 2mo ago

Runtime dependencies

GitHub topics

nodejs npm pnpm yarn

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [],
  "categories": [],
  "caveats": null,
  "conflicts_with": [
    "hadoop",
    "pnpm",
    "yarn"
  ],
  "dependencies": [
    "node"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Package acting as bridge between Node projects and their package managers",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:36:36+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "corepack",
  "github_default_branch": "main",
  "github_last_commit_at": "2026-06-19T05:23:28Z",
  "github_readme_excerpt": "# \u003cimg src=\"./icon.svg\" height=\"25\" /\u003e corepack\n\n[![Join us on OpenJS slack (channel #nodejs-corepack)](https://img.shields.io/badge/OpenJS%20Slack-%23nodejs--corepack-blue)](https://slack-invite.openjsf.org/)\n\nCorepack is a zero-runtime-dependency Node.js script that acts as a bridge\nbetween Node.js projects and the package managers they are intended to be used\nwith during development. In practical terms, **Corepack lets you use Yarn, npm,\nand pnpm without having to install them**.\n\n## How to Install\n\n### Default Installs\n\nCorepack is distributed with Node.js from version 14.19.0 up to (but not including) 25.0.0.\nRun `corepack enable` to install the required Yarn and pnpm binaries on your path.\n\n### Manual Installs\n\n\u003cdetails\u003e\n\u003csummary\u003eInstall Corepack using npm\u003c/summary\u003e\n\nFirst uninstall your global Yarn and pnpm binaries (just leave npm). In general,\nyou\u0027d do this by running the following command:\n\n```shell\nnpm uninstall -g yarn pnpm\n\n# That should be enough, but if you installed Yarn without going through npm it might\n# be more tedious - for example, you might need to run `brew uninstall yarn` as well.\n```\n\nThen install Corepack:\n\n```shell\nnpm install -g corepack\n```\n\nWe do acknowledge the irony and overhead of using npm to install Corepack, which\nis at least part of why the preferred option is to use the Corepack version that\nis distributed along with Node.js itself.\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\u003csummary\u003eUpdate Corepack using npm\u003c/summary\u003e\n\nTo install the latest version of Corepack, use:\n\n```shell\nnpm install -g corepack@latest\n```\n\nIf Corepack was installed on your system using a Node.js Windows Installer\n`.msi` package then you might need to remove it before attempting to install a\ndifferent version of Corepack using npm. You can select the Modify option of the\nNode.js app settings to access the Windows Installer feature selection, and on\nthe \"corepack manager\" feature of the Node.js `.msi` package by selecting\n\"Entire feature will be unavailable\". See\n[Repair apps a",
  "github_repo": "nodejs/corepack",
  "github_stars": 3710,
  "github_topics": [
    "nodejs",
    "npm",
    "pnpm",
    "yarn"
  ],
  "homepage": "https://github.com/nodejs/corepack",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 956,
  "installs_365d": 5086,
  "installs_90d": 2602,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "MIT",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "corepack",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 1323,
  "rank_365d": 1921,
  "rank_90d": 1434,
  "raw_hash": "dabf28c212e468e2",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/c/corepack.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": null,
  "version_stable": "0.35.0",
  "versioned_formulae": [],
  "why_use_this": null
}