Dashboard › cli › Distillation
fd4c9150-3aa8-434d-afa9-9c7ad0e10627["lore_tm_v1_9N-nNyMHDAAHGekJFcTBuIM_JHA8znuLy_oKkiroLN4"]
packages/cli/src/lib/upgrade.ts returns "brew" when Homebrew is detected (comment at line 395).packages/cli/src/lib/upgrade.ts throws UpgradeError in this case (JSDoc at line 988).packages/cli/src/lib/upgrade.ts states the caller MUST release the lock after the download→spawn→install pipeline (JSDoc at line 1026).packages/cli/src/lib/upgrade.ts maps KNOWN_CURL_DIRS through join(homeDir, dir) + sep and considers process.execPath when it is in a known curl installation location.packages/cli/src/lib/upgrade.ts sets executable permission only on Unix and includes a grandfathered silent catch under issue #1531, with guidance to drain it by adding log.debug()/log.warn() or rethrowing.