When running via `curl URL | sh`, stdin is the curl pipe, not the
terminal. Interactive prompts (wizard or legacy install.sh) need
a real TTY. Redirect stdin from /dev/tty when available, fall back
to --non-interactive mode when no TTY exists (CI/Docker).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>