1. Non-interactive mode — piping curl | bash means Homebrew’s installer can’t prompt for your password or interact with you.
2. No admin/sudo access — the user clawbot-beyonce isn’t an Administrator on this Mac, so Homebrew can’t install to /usr/local or /opt/homebrew.
Fix options, in order of ease:
Option A — Run the Homebrew install separately first (as an admin user)
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
This needs to be run in a real terminal (not piped), so it can prompt for your password. If your account isn’t admin, you’ll need to either get admin rights or ask someone who has them.
Option B — Skip Homebrew entirely if Node.js is already installed
Check if Node is already available:
node --version
npm --version
If those work, you may be able to install OpenClaw directly:
npm install -g openclaw
Option C — Run the installer with --verbose to see the full error
curl -fsSL https://openclaw.ai/install.sh | bash -s -- --verbose
This will show exactly where it’s breaking.
Root cause summary:
| Problem | Why |
|---|---|
| Homebrew install fails | User has no sudo/admin rights |
| Non-interactive warning | curl | bash can’t accept TTY input |
The quickest path forward is to check if Node/npm is already installed — if it is, you can likely bypass Homebrew entirely.