Problem
When running curl -fsSL https://openclaw.ai/install.sh | bash, gum is disabled because stdin is a pipe (is_non_interactive_shell returns true). Without gum, run_npm_global_install silently redirects all output to a temp log file:
Users see no feedback during the npm install step, which can take 60+ seconds. The gum branch already shows "Installing OpenClaw package" via run_with_spinner, but the no-gum fallback is completely silent.
Reproduction
curl -fsSL https://openclaw.ai/install.sh | bash
Observe 60+ seconds of silence between the version detection and the "OpenClaw npm package installed" success message.
Expected behavior
A progress line like Installing OpenClaw package should appear before the silent npm command, matching the pattern from PR #71720 that was applied to run_quiet_step.
Affected file
scripts/install.sh (line ~740, no-gum branch of run_npm_global_install)
Related
Problem
When running
curl -fsSL https://openclaw.ai/install.sh | bash, gum is disabled because stdin is a pipe (is_non_interactive_shellreturns true). Without gum,run_npm_global_installsilently redirects all output to a temp log file:Users see no feedback during the npm install step, which can take 60+ seconds. The gum branch already shows "Installing OpenClaw package" via
run_with_spinner, but the no-gum fallback is completely silent.Reproduction
curl -fsSL https://openclaw.ai/install.sh | bashObserve 60+ seconds of silence between the version detection and the "OpenClaw npm package installed" success message.
Expected behavior
A progress line like
Installing OpenClaw packageshould appear before the silent npm command, matching the pattern from PR #71720 that was applied torun_quiet_step.Affected file
scripts/install.sh(line ~740, no-gum branch ofrun_npm_global_install)Related