fix(install): skip Homebrew until macOS packages need it · openclaw/openclaw@527b7c2
SebTardif
·
2026-05-27
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -68,14 +68,14 @@ Recommended for most interactive installs on macOS/Linux/WSL.
|
68 | 68 | |
69 | 69 | <Steps> |
70 | 70 | <Step title="Detect OS"> |
71 | | -Supports macOS and Linux (including WSL). If macOS is detected, installs Homebrew if missing. |
| 71 | +Supports macOS and Linux (including WSL). |
72 | 72 | </Step> |
73 | 73 | <Step title="Ensure Node.js 24 by default"> |
74 | | -Checks Node version and installs Node 24 if needed (Homebrew on macOS, NodeSource setup scripts on Linux apt/dnf/yum). OpenClaw still supports Node 22 LTS, currently `22.19+`, for compatibility. |
| 74 | +Checks Node version and installs Node 24 if needed (Homebrew on macOS, NodeSource setup scripts on Linux apt/dnf/yum). On macOS, Homebrew is installed only when the installer needs it for Node or Git. OpenClaw still supports Node 22 LTS, currently `22.19+`, for compatibility. |
75 | 75 | On Alpine/musl Linux, the installer uses apk packages instead of NodeSource; the configured Alpine repositories must provide Node `22.19+` (Alpine 3.21 or newer at the time of writing). |
76 | 76 | </Step> |
77 | 77 | <Step title="Ensure Git"> |
78 | | -Installs Git if missing using the detected package manager, including apk on Alpine. |
| 78 | +Installs Git if missing using the detected package manager, including Homebrew on macOS and apk on Alpine. |
79 | 79 | </Step> |
80 | 80 | <Step title="Install OpenClaw"> |
81 | 81 | - `npm` method (default): global npm install |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。