Install Unsloth on MacOS
Last updated
Was this helpful?
To install Unsloth locally on your local Apple MacOS device, follow the steps below:
curl -fsSL https://unsloth.ai/install.sh | shUse the same command to update.
Every time you want to launch Unsloth again:
unsloth studio -H 0.0.0.0 -p 8888For detailed Unsloth Studio install instructions and requirements, view our guide.
The recommended way to fully remove Unsloth Studio is the uninstall script for your OS. It stops any running servers, removes the app, CLI command, launcher data, shortcuts, and platform-specific entries (macOS .app bundle + Launch Services; Windows Start Menu + registry + PATH):
curl -fsSL https://raw.githubusercontent.com/unslothai/unsloth/main/scripts/uninstall.sh | shIf you prefer to remove only specific parts:
1. Remove app only (keeps history, chats, checkpoints, and exports intact):
rm -rf ~/.unsloth/studio/unsloth_studio
2. Remove Studio entirely (keeps other Unsloth tools intact):
rm -rf ~/.unsloth/studio
3. Remove everything Unsloth-related:
rm -rf ~/.unsloth
Note: Step 3 deletes everything in history, chats, model checkpoints, and exports. This cannot be undone.
4. Remove shortcuts and symlinks:
5. Remove the CLI command:
rm -f ~/.local/bin/unsloth
Note: Steps 1-5 dont touch your downloaded HF model files. See Deleting cached HF model files below if you want to reclaim that space.
You can delete old model files either from the bin icon in model search or by removing the relevant cached model folder from the Hugging Face cache directory.
The default cache location is:
If HF_HUB_CACHE or HF_HOME is set, use that location instead. You can check with:
To delete a specific model, remove its folder (e.g. models--unsloth--Llama-3.1-8B-bnb-4bit) from the cache directory. To clear all cached models:
Last updated
Was this helpful?
Was this helpful?
rm -rf ~/Applications/Unsloth\ Studio.app ~/Desktop/Unsloth\ Studio~/.cache/huggingface/hub/echo ${HF_HUB_CACHE:-${HF_HOME:-${XDG_CACHE_HOME:-$HOME/.cache}/huggingface}/hub}rm -rf ~/.cache/huggingface/hub/
