Skip to content

Commit a8e3f31

Browse files
committed
fix: redirect stdin from /dev/tty in install.sh for curl pipe compatibility
1 parent 53794d3 commit a8e3f31

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ main() {
1616
if command -v bun &>/dev/null; then
1717
echo " → Using bun"
1818
echo ""
19-
bunx "$PACKAGE" setup
19+
bunx "$PACKAGE" setup </dev/tty
2020
elif command -v npx &>/dev/null; then
2121
echo " → Using npx"
2222
echo ""
23-
npx -y "$PACKAGE" setup
23+
npx -y "$PACKAGE" setup </dev/tty
2424
else
2525
echo " ✗ Neither bun nor npx found."
2626
echo ""

0 commit comments

Comments
 (0)