Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

install.sh: keep the studio launch from draining the curl | sh script (#6258)

Daniel Hanbe2a122e210c
diff --git a/install.sh b/install.sh
index 8e39a01b1d5..d13689150a5 100755
--- a/install.sh
+++ b/install.sh
@@ -2900,7 +2900,10 @@ if [ -t 1 ]; then
case "${_reply:-y}" in
[Yy]*|"")
step "launch" "starting Unsloth Studio..."
- "$VENV_DIR/bin/unsloth" studio -p 8888
+ # Detach stdin from the `curl | sh` pipe: as a foreground server the
+ # studio would otherwise drain the rest of this piped script, leaving
+ # the shell to die parsing the now-truncated tail (`unexpected fi`).
+ "$VENV_DIR/bin/unsloth" studio -p 8888 </dev/null
_LAUNCH_EXIT=$?
if [ "$_LAUNCH_EXIT" -ne 0 ] && [ "$_MIGRATED" = true ]; then
echo ""