DashboardclidetectInstallationMethod Homebrew prior…

detectInstallationMethod Homebrew priority

Category: decision
Confidence: 1.00
ID: 01a0857b-5e9a-70d0-bbc2-bc8b831e0b34
Project ID: c760f4f9-42b0-4ce0-b36d-6b8c38d770b2
Cross-project: No
Recalled in other projects: 0
Source session: 0EKABmkS3SHgi3Lep
Created: 2026-09-09 00:49:58
Updated: 2026-09-09 09:24:10

Content

Always run the cheap realpathSync(process.execPath) /Cellar/ Homebrew check before reading stored install information. Stored curl or package-manager metadata looks authoritative but may be stale after the user switches installation methods; the current Homebrew executable path must win. If realpathSync() fails because the binary moved or disappeared, check the unresolved path.

Move to: