Dashboard › cli › detectInstallationMethod Homebrew prior…
01a0857b-5e9a-70d0-bbc2-bc8b831e0b34Always 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.