Skip to content

Conversation

@ridgunn
Copy link
Contributor

@ridgunn ridgunn commented Nov 11, 2025

What changed?

  • Fixed the interactive prompt not working when installing via piped execution (curl -L <url> | sh)
  • Added proper /dev/tty fallback to always allow user input where available
  • Removed duplicate prompt calls
  • Improved handling of non-interactive environments with a clear fallback message

Works in these cases

# ✔ Interactive (TTY prompt works even when piped)
curl -L https://example.com/install.sh | sh

# ✔ Non-interactive (automation, CI, scripts)
curl -L https://example.com/install.sh | sh -s -- -y
image

Fix interactive prompt failures in non-interactive environments, add /dev/tty fallback
@ridgunn ridgunn requested a review from a team as a code owner November 11, 2025 11:59
@ridgunn ridgunn self-assigned this Nov 11, 2025
Copy link
Contributor

@mjcheetham mjcheetham left a comment

Choose a reason for hiding this comment

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

Nice!

@ridgunn ridgunn merged commit c22ceba into main Nov 11, 2025
9 checks passed
@ridgunn ridgunn deleted the fix/installer-prompt-pipe-tty-handling branch November 11, 2025 12:17
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.

3 participants