brew gist-logs <formula> link OR brew config AND brew doctor output
$ brew config
HOMEBREW_VERSION: 4.4.0-127-g3291ad4
ORIGIN: https://github.com/Homebrew/brew
HEAD: 3291ad4fc78f33f8e9bb7ce37745d2a0e697f5fb
Last commit: 14 hours ago
Core tap HEAD: 4465032b218818d8f645e17e2cf45435964bd854
Core tap last commit: 4 months ago
Core tap JSON: 12 Oct 14:02 UTC
Core cask tap HEAD: ff7c82f562e07a6613213e0daad7d36bc9af9137
Core cask tap last commit: 4 months ago
Core cask tap JSON: 12 Oct 14:02 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 8
HOMEBREW_SORBET_RUNTIME: set
Homebrew Ruby: 3.3.5 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.5/bin/ruby
CPU: octa-core 64-bit arm_firestorm_icestorm
Clang: 16.0.0 build 1600
Git: 2.39.2 => /opt/homebrew/bin/git
Curl: 8.7.1 => /usr/bin/curl
macOS: 15.0.1-arm64
CLT: 16.0.0.0.1.1724870825
Xcode: 16.0
Rosetta 2: false
$ brew doctor
Your system is ready to brew.
Verification
What were you trying to do (and why)?
I was trying to use Homebrew to install Node.js v22 and use Corepack, in the same way that I installed Node.js v20 and used Corepack
What happened (include all command output)?
Following the official Node.js download page, I used Homebrew to install node@22, and then tried to enable the corepack binary as in the Node.js docs and it is not available:
$ brew install node@22
...
$ corepack enable
zsh: command not found: corepack
This is divergent behavior from node@20 (and other versions), where installation yields a working, installed Corepack out of the box:
$ brew install node@20
...
$ brew link node@20
...
$ corepack enable
$ # Completed successfully
What did you expect to happen?
node@22 should install the Corepack binary like node@20 does (Corepack is expected to be a part of Node.js)
Step-by-step reproduction instructions (by running brew commands)
brew gist-logs <formula>link ORbrew configANDbrew doctoroutputVerification
brew doctoroutput saysYour system is ready to brew.and am still able to reproduce my issue.brew updateand am still able to reproduce my issue.brew doctorand that did not fix my problem.What were you trying to do (and why)?
I was trying to use Homebrew to install Node.js v22 and use Corepack, in the same way that I installed Node.js v20 and used Corepack
What happened (include all command output)?
Following the official Node.js download page, I used Homebrew to install
node@22, and then tried to enable thecorepackbinary as in the Node.js docs and it is not available:This is divergent behavior from
node@20(and other versions), where installation yields a working, installed Corepack out of the box:What did you expect to happen?
node@22should install the Corepack binary likenode@20does (Corepack is expected to be a part of Node.js)Step-by-step reproduction instructions (by running
brewcommands)