Skip to content

[Bug]: No progress feedback during npm install in non-interactive (piped) mode #82305

Description

@SebTardif

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:

"${cmd[@]}" >"$log" 2>&1

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Normal backlog priority with limited blast radius.clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions