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.
Python agentaichatgptdeepseekfine-tuninggemmaimage-generationllamallmllmsopenaipythonqwenreinforcement-learningself-hostedstable-diffusiontext-to-speechttsuiunsloth
README: Studio developer install tracks main (nightly), add UNSLOTH_STUDIO_HOME and --secure (#6498)
Daniel Han3452b9176432
diff --git a/README.md b/README.mdindex b6a4b836a43..cc783d734e6 100644--- a/README.md+++ b/README.md@@ -162,13 +162,19 @@ Read our [guide](https://unsloth.ai/docs/get-started/fine-tuning-llms-guide). Ad## 📥 Advanced InstallationThe below advanced instructions are for Unsloth Studio. For Unsloth Core advanced installation, [view our docs](https://unsloth.ai/docs/get-started/install/pip-install#advanced-pip-installation).-#### Developer installs: macOS, Linux, WSL:+#### Developer / Nightly / Experimental installs: macOS, Linux, WSL:+The developer install builds from the `main` branch, which is the latest (nightly) source.```bashgit clone https://github.com/unslothai/unslothcd unsloth./install.sh --localunsloth studio -p 8888```+To install into an isolated location (its own virtual env, `auth/`, `studio.db`, cache and llama.cpp build), set `UNSLOTH_STUDIO_HOME` and pass it again at launch:+```bash+UNSLOTH_STUDIO_HOME="$PWD/.studio" ./install.sh --local+UNSLOTH_STUDIO_HOME="$PWD/.studio" unsloth studio -p 8888+```Then to update :```bashcd unsloth && git pull@@ -176,7 +182,8 @@ cd unsloth && git pullunsloth studio -p 8888```-#### Developer installs: Windows PowerShell:+#### Developer / Nightly / Experimental installs: Windows PowerShell:+The developer install builds from the `main` branch, which is the latest (nightly) source.```powershellgit clone https://github.com/unslothai/unsloth.gitcd unsloth@@ -184,40 +191,31 @@ Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass.\install.ps1 --localunsloth studio -p 8888```+To install into an isolated location (its own virtual env, `auth/`, `studio.db`, cache and llama.cpp build), set `UNSLOTH_STUDIO_HOME` and pass it again at launch:+```powershell+$env:UNSLOTH_STUDIO_HOME="$PWD\.studio"; .\install.ps1 --local+$env:UNSLOTH_STUDIO_HOME="$PWD\.studio"; unsloth studio -p 8888+```Then to update :-```bash-cd unsloth && git pull-./install.sh --local+```powershell+cd unsloth; git pull+.\install.ps1 --localunsloth studio -p 8888```-#### Nightly: MacOS, Linux, WSL:+#### Remote access: `--secure` (HTTPS tunnel) vs raw port+By default `unsloth studio` binds to `127.0.0.1` (this machine only). To reach it from another device, pick one of:++- `--secure` (recommended): serve **only** through a free Cloudflare HTTPS link. Studio stays bound to localhost and the tunnel provides the public URL; it fails closed (does not start) if the tunnel can't come up, so the raw port is never exposed.```bash-git clone https://github.com/unslothai/unsloth-cd unsloth-git checkout nightly-./install.sh --local-unsloth studio -p 8888+unsloth studio --secure -p 8888```-Then to launch every time:+- `-H 0.0.0.0`: bind the raw port on all network interfaces, reachable from anywhere on the network. Only use this on a trusted network.```bash-unsloth studio -p 8888+unsloth studio -H 0.0.0.0 -p 8888```-#### Nightly: Windows:-Run in Windows Powershell:-```powershell-git clone https://github.com/unslothai/unsloth.git-cd unsloth-git checkout nightly-Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass-.\install.ps1 --local-unsloth studio -p 8888-```-Then to launch every time:-```bash-unsloth studio -p 8888-```+Server-side tools (web search, Python and terminal code execution) run as your user and are on by default. Anyone who can reach the server with the API key can run code on this machine, so keep your API key private and pass `--disable-tools` when exposing Studio.#### Advanced launch optionsInstaller options can be passed as environment variables. On macOS, Linux and WSL place the variable after the pipe so the shell passes it to `sh`; on Windows set it with `$env:` before piping to `iex`.