### Version v22.9.0 ### Platform ```text Darwin Karls-MBP.local 24.0.0 Darwin Kernel Version 24.0.0: Tue Sep 24 23:36:26 PDT 2024; root:xnu-11215.1.12~1/RELEASE_ARM64_T8103 arm64 ``` ### Subsystem _No response_ ### What steps will reproduce the bug? 1. `brew install node@22` (on macOS, with `@22` version specifier recommended on [download page](https://nodejs.org/en/download/package-manager), screenshot below) 2. `corepack enable` (as in [the Corepack docs page](https://nodejs.org/api/corepack.html#enabling-the-feature)) 3. 💥 `zsh: command not found: corepack`  This also reproduces with no version specifier (`brew install node`) ### How often does it reproduce? Is there a required condition? Always ### What is the expected behavior? Why is that the expected behavior? `corepack` is installed and on PATH ### What do you see instead? `corepack` is not installed ### Additional information Encountering this bug, I thought that the decision had been made to remove Corepack from Node.js, as is being discussed in various PRs and issues: - https://github.com/nodejs/node/pull/51981 - https://github.com/nodejs/TSC/pull/1527 - https://github.com/nodejs/package-maintenance/pull/597 - https://github.com/nodejs/node/pull/51886 - https://github.com/nodejs/node/issues/50963
Version
v22.9.0
Platform
Subsystem
No response
What steps will reproduce the bug?
brew install node@22(on macOS, with@22version specifier recommended on download page, screenshot below)corepack enable(as in the Corepack docs page)zsh: command not found: corepackThis also reproduces with no version specifier (
brew install node)How often does it reproduce? Is there a required condition?
Always
What is the expected behavior? Why is that the expected behavior?
corepackis installed and on PATHWhat do you see instead?
corepackis not installedAdditional information
Encountering this bug, I thought that the decision had been made to remove Corepack from Node.js, as is being discussed in various PRs and issues:
yarnandpnpmCorepack binaries by default #51886