Skip to content

fix: sync install.sh with openclaw/openclaw#129

Open
SebTardif wants to merge 2 commits intoopenclaw:mainfrom
SebTardif:fix/sync-install-sh
Open

fix: sync install.sh with openclaw/openclaw#129
SebTardif wants to merge 2 commits intoopenclaw:mainfrom
SebTardif:fix/sync-install-sh

Conversation

@SebTardif
Copy link
Copy Markdown

Problem

public/install.sh (served at https://openclaw.ai/install.sh) is significantly out of sync with the canonical scripts/install.sh in openclaw/openclaw. The diff is ~945 lines across many PRs that were never propagated.

Users running curl -fsSL https://openclaw.ai/install.sh | bash are missing:

And still include removed features:

  • Legacy CLAWDBOT_* env var mapping
  • --profile/--workspace/--gateway-port flags
  • ensure_home_env, resolve_brew_bin, activate_brew_for_session (replaced by simpler logic)

Fix

Full file replacement with the current scripts/install.sh from openclaw/openclaw main branch. SHA256 verified match.

Related

Full sync of public/install.sh with the canonical scripts/install.sh
from openclaw/openclaw (main branch as of 2026-05-03).

Includes changes from multiple PRs that were never propagated:
- Progress indicators during quiet steps (#71720)
- Progress during npm install in non-interactive mode (#76355)
- Arch Linux support
- Node version handling improvements (v24 default, v22.14 minimum)
- Gum spinner raw-mode detection fixes
- apt-get helper functions
- Removed legacy CLAWDBOT env var mapping
- Removed --profile/--workspace/--gateway-port flags
- Added --verify flag
@vercel
Copy link
Copy Markdown

vercel Bot commented May 3, 2026

@SebTardif is attempting to deploy a commit to the Jamie's projects Team on Vercel.

A member of the Team first needs to authorize it.

Comment thread public/install.sh
gum_out="$(mktempfile)"
if "$GUM" spin --spinner dot --title "$title" -- "$@" >"$gum_out" 2>"$gum_err"; then
if is_gum_raw_mode_failure "$gum_out" || is_gum_raw_mode_failure "$gum_err"; then
GUM=""
Copy link
Copy Markdown

@vercel vercel Bot May 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

run_with_spinner executes the command twice when gum detects raw mode failure - once inside gum spin and once again with explicit re-execution

Fix on Vercel

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is pre-existing logic in the canonical scripts/install.sh from openclaw/openclaw. This PR is a direct file sync — the behavior is intentional fallback: when gum reports success (exit 0) but the output contains raw mode errors (meaning gum silently failed to display the spinner), the command is re-executed without gum to ensure it actually ran correctly.

If this is a real concern, it should be addressed upstream in openclaw/openclaw, not in this sync PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant