Skip to content

feat(install): add download progress indicators to installer scripts#246

Merged
Aaronontheweb merged 2 commits into
devfrom
claude-wt-netclaw-install
Mar 15, 2026
Merged

feat(install): add download progress indicators to installer scripts#246
Aaronontheweb merged 2 commits into
devfrom
claude-wt-netclaw-install

Conversation

@Aaronontheweb

Copy link
Copy Markdown
Collaborator

Summary

  • Bash: Use curl --progress-bar when stderr is a TTY to show a ### progress bar with percentage during binary downloads. Falls back to silent in non-interactive contexts (CI).
  • PowerShell: Add spinner (|/-\) via background runspace while Invoke-WebRequest runs with $ProgressPreference = 'SilentlyContinue'. Avoids the notorious PS 5.1 Write-Progress performance penalty (10x slower downloads). Falls back to static message in non-interactive contexts.
  • Manifest fetch remains silent on both platforms (small/fast).

Test plan

  • Bash interactive: bash scripts/install.sh — confirm ### progress bar appears during download
  • Bash non-interactive: bash scripts/install.sh 2>/dev/null — confirm clean silent download
  • PowerShell interactive: .\scripts\install.ps1 — confirm spinner animates during download
  • Error case: test with a bad URL to confirm errors propagate through both progress mechanisms

Bash: use curl --progress-bar when stderr is a TTY, falls back to
silent in non-interactive contexts (CI). PowerShell: spinner via
background runspace avoids PS 5.1 Write-Progress performance penalty.
@Aaronontheweb Aaronontheweb merged commit 0ebadcc into dev Mar 15, 2026
3 checks passed
@Aaronontheweb Aaronontheweb deleted the claude-wt-netclaw-install branch March 15, 2026 20:11
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