Unsloth Studio Installation
Manually install Unsloth Studio, or download the separate Unsloth Desktop app.
Unsloth Studio works on Windows, Linux, WSL and MacOS. You should use the same installation process on every device, although the system requirements may differ by device.
Install with Unsloth Desktop
The easiest way to install Unsloth Studio is with the native Desktop app. Download it for your operating system:
The rest of this page installs Unsloth Studio manually.
Manual Unsloth Studio installation
Quickstart
Install Unsloth:
curl -fsSL https://unsloth.ai/install.sh | shUse the same command to update.
Install Unsloth:
irm https://unsloth.ai/install.ps1 | iexUse the same command to update.
The Unsloth Docker image unsloth/unsloth is available on Docker. Read guide.
Install Unsloth Desktop:
brew install --cask unslothUpdate Unsloth Desktop:
brew upgrade --cask unslothInstall Unsloth Desktop:
winget install --id UnslothAI.Unsloth -eUpdate Unsloth Desktop:
winget upgrade --id UnslothAI.Unsloth -eSee below for more step-by-step instructions:
Step 1: Setup Unsloth
Launch the terminal from Mac, then install Unsloth by entering the command below.
curl -fsSL https://unsloth.ai/install.sh | shor use Homebrew:
brew install --cask unslothUnsloth will start setting up the environment and installing the required packages as shown below. Type Y and Press Enter when asked if you want to allow Unsloth to start now. This will start Unsloth on your local 8888 port.

Step 2: Start Unsloth
Open your browser of choice and go to the http://127.0.0.1:8888 URL. If this is your first time installing Unsloth, you will be prompted to create a new password. After, the Unsloth app should now open on the Chat Page as shown below.

Launch Unsloth securely with HTTPS and Cloudflare. Unsloth now provides a secure way to launch Unsloth over HTTPS through a free Cloudflare tunnel. Use the below (works in Windows, Mac & Linux):
You can start training and running models immediately. You can view our more detailed step-by-step guide to get started below:
Get StartedStep 1: Setup Unsloth
Open the Start Menu, search for PowerShell, and launch it. Copy & paste the install command below:
it will begin installing automatically. After installation finishes, PowerShell will ask if you want to start Unsloth Studio.

You can also launch it with the following command:
Step 2: Start Unsloth
Open http://127.0.0.1:8888 in your browser. On first launch, create a new password to continue to the Chat page. Unsloth Studio is now installed and ready to use.
The Unsloth app should now open on the Chat Page as shown below.

Launch Unsloth securely with HTTPS and Cloudflare. Unsloth now provides a secure way to launch Unsloth over HTTPS through a free Cloudflare tunnel. Use the below (works in Windows, Mac & Linux):
You can start training and running models immediately. You can view our more detailed step-by-step guide to get started below:
Get StartedStep 1: Setup Unsloth
Open your terminal application. You can launch it by pressing Ctrl + Alt + T, or by searching for Terminal in your system's application menu.
Click the Windows Start Menu, type the name of your installed distro (e.g. Ubuntu), then open it.
To install, copy and run the install command:
Then:
Click inside the terminal window
Paste the command with
Ctrl + Shift + VPress
Enter
Unsloth will start setting up the environment and installing the required packages as shown below. Type Y and Press Enter when asked if you want to allow Unsloth to start now. This will start Unsloth on your local 8888 port.

Step 2: Start Unsloth
Open your browser of choice and type http://127.0.0.1:8888 in the URL box. If this is your first time installing Unsloth, you will be forwarded to http://127.0.0.1:8888/change-password page as shown below:

Launch Unsloth securely with HTTPS and Cloudflare. Unsloth now provides a secure way to launch Unsloth over HTTPS through a free Cloudflare tunnel. Use the below (works in Windows, Mac & Linux):
You can start training and running models immediately. You can view our more detailed step-by-step guide to get started below:
Get StartedSystem Requirements
Windows
Unsloth Studio works directly on Windows without WSL. To train models, make sure your system satisfies these requirements:
Requirements
Windows 10 or Windows 11 (64-bit)
NVIDIA GPU with drivers installed (for Intel GPUs, see Intel GPUs)
App Installer (includes
winget): hereGit:
winget install --id Git.Git -e --source wingetPython: version 3.11 up to, but not including, 3.14
Work inside a Python environment such as uv, venv, or conda/mamba
MacOS
Unsloth Studio works on Mac devices for Chat and training and all features. You can run MLX models with Unsloth.
macOS 12 Monterey or newer (Intel or Apple Silicon)
Work inside a Python environment such as uv, venv, or conda/mamba
Linux & WSL
Ubuntu 20.04+ or similar distro (64-bit)
NVIDIA GPU with drivers installed (for Intel GPUs, see Intel GPUs)
CUDA toolkit (12.4+ recommended, 12.8+ for blackwell)
Git:
sudo apt install gitPython: version 3.11 up to, but not including, 3.14
Work inside a Python environment such as uv, venv, or conda/mamba
Intel GPUs
Install the latest Intel GPU driver first (see our Intel guide). The installer then picks Intel XPU PyTorch by itself on Linux and Windows when an Intel Arc, Arc Pro, Core Ultra with Arc graphics, or Data Center GPU Max / Flex is the only GPU it finds. On Linux the installer's GPU line shows Intel GPU (<device id>, XPU) when this happens.
Pin XPU PyTorch yourself when the installer cannot see or pick the Intel GPU:
WSL, where no PCI display device is visible to the installer
a system that also has an NVIDIA or AMD GPU (one PyTorch install serves one vendor, so the other GPU will not be used for training)
on Linux,
ONEAPI_DEVICE_SELECTOR,SYCL_DEVICE_FILTERorSYCL_DEVICE_ALLOWLISTis set, orZE_AFFINITY_MASKis set to anything other than empty ordefault
Linux, WSL:
Windows (PowerShell):
If you pinned XPU (for example on WSL), set the same variable every time you re-run the installer to update; without it the re-run installs CPU PyTorch again. To keep CPU PyTorch on a system with an Intel GPU, set UNSLOTH_TORCH_INDEX_FAMILY=cpu instead (or UNSLOTH_DISABLE_XPU_AUTO=1 on Linux).
Docker
Pull our latest Unsloth container image:
docker pull unsloth/unslothRun the container via:
For more information, see here.
Access your studio instance at
http://localhost:8000or external ip addresshttp://external_ip_address:8000/
CPU only
Unsloth Studio supports CPU devices for Chat for GGUF models and Data Recipes
Same as the ones mentioned above for Linux (except for NVIDIA GPU drivers) and MacOS.
Developer / Nightly Installations (Advanced)
Main Repo Install
macOS, Linux, WSL developer installs:
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:
Then to update :
Windows PowerShell developer installs:
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:
Then to update :
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. Unsloth 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.
-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.
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 Unsloth.
Advanced Launch methods
Installer 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.
Skip PyTorch (GGUF-only mode):
Pin the Python version:
Install to a custom location with UNSLOTH_STUDIO_HOME:
Cap Unsloth's native CPU thread pools on high-core hosts: UNSLOTH_CPU_THREADS=8 unsloth studio -p 8888.
Uninstall
The recommended way to fully remove Unsloth Studio is the matching uninstall script for your OS. It stops any running servers, removes the install dir, the launcher data dir, the desktop shortcut, and any platform-specific entries (macOS .app bundle + Launch Services on Mac; Start Menu, HKCU\Software\Unsloth registry key and user PATH entries on Windows):
MacOS, WSL, Linux:
Windows (PowerShell):
If you only want to drop the install dir and keep the launcher/shortcut for a later reinstall, you can instead run rm -rf ~/.unsloth/studio (Mac/Linux/WSL) or Remove-Item -Recurse -Force "$HOME\.unsloth\studio" (Windows). The model cache at ~/.cache/huggingface is not touched by any of these.
Manual uninstall
If you prefer to remove only specific parts:
1. Remove app only (keeps history, chats, checkpoints, and exports intact):
macOS, WSL, Linux:
rm -rf ~/.unsloth/studio/unsloth_studioWindows (PowerShell):
Remove-Item -Recurse -Force "$HOME\.unsloth\studio\unsloth_studio"
2. Remove Unsloth entirely (keeps other Unsloth tools intact):
macOS, WSL, Linux:
rm -rf ~/.unsloth/studioWindows (PowerShell):
Remove-Item -Recurse -Force "$HOME\.unsloth\studio"
3. Remove everything Unsloth-related:
macOS, WSL, Linux:
rm -rf ~/.unslothWindows (PowerShell):
Remove-Item -Recurse -Force "$HOME\.unsloth"
4. Remove shortcuts and symlinks:
macOS:
Linux:
WSL / Windows (PowerShell):
5. Remove the CLI command:
macOS, Linux, WSL:
rm -f ~/.local/bin/unslothWindows (PowerShell): The installer added the venv's
Scriptsdirectory to your User PATH. To remove it, open Settings → System → About → Advanced system settings → Environment Variables, findPathunder User variables, and remove the entry pointing to.unsloth\studio\...\Scripts.
Deleting cached HF model files
You can delete old model files either from the bin icon in model search or by removing the relevant cached model folder from the default Hugging Face cache directory. By default, Hugging Face uses ~/.cache/huggingface/hub/ on macOS/Linux/WSL and C:\Users\<username>\.cache\huggingface\hub\ on Windows.
MacOS, Linux, WSL:
~/.cache/huggingface/hub/Windows:
%USERPROFILE%\.cache\huggingface\hub\
If HF_HUB_CACHE or HF_HOME is set, use that location instead. On Linux and WSL, XDG_CACHE_HOME can also change the default cache root.
Using old / existing GGUF models
Apr 1 update: You can now select an existing folder for Unsloth to detect from.
Mar 27 update: Unsloth Studio now automatically detects older / pre-existing models downloaded from Hugging Face, LM Studio etc.

Manual instructions: Unsloth Studio detects models downloaded to your Hugging Face Hub cache (C:\Users{your_username}.cache\huggingface\hub). If you have GGUF models downloaded through LM Studio, note that these are stored in C:\Users{your_username}.cache\lm-studio\models OR C:\Users{your_username}\lm-studio\models . Sometimes when they are not visible, you will need to move or copy those .gguf files into your Hugging Face Hub cache directory (or another path accessible to llama.cpp) for Unsloth Studio to load them.
After fine-tuning a model or adapter in Unsloth, you can export it to GGUF and run local inference with llama.cpp directly in Unsloth Chat. Unsloth Studio is powered by llama.cpp and Hugging Face.
Google Colab notebook
We’ve created a free Google Colab notebook so you can explore all of Unsloth’s features on Colab’s T4 GPUs. You can train and run most models up to 22B parameters, and switch to a larger GPU for bigger models. Just Click 'Run all' and the UI should pop up after installation.
Once installation is complete, scroll to Start Unsloth Studio and click Open Unsloth Studio in the white box shown on the left:
Scroll further down, to see the actual UI.

Troubleshooting
Python version error
sudo apt install python3.12 python3.12-venv version 3.11 up to, but not including, 3.14
nvidia-smi not found
Install NVIDIA drivers from https://www.nvidia.com/Download/index.aspx
nvcc not found (CUDA)
sudo apt install nvidia-cuda-toolkit or add /usr/local/cuda/bin to PATH
llama-server build failed
Non-fatal, Unsloth still works, GGUF inference won't be available. Install cmake and re-run setup to fix.
cmake not found
sudo apt install cmake
git not found
sudo apt install git
Build failed
Delete ~/.unsloth/llama.cpp and re-run setup
Last updated
Was this helpful?

