📥Unsloth Installation

Learn to install Unsloth locally or online.

Unsloth can be used in two ways: through Unsloth Studio, the web UI, or through Unsloth Core, the original code-based version. Each has different requirements.

Unsloth Studio works on MacOS, Linux, Windows, NVIDIA, and more. See our system requirements.

MacOS, Linux, WSL:

curl -fsSL https://unsloth.ai/install.sh | sh

Windows PowerShell:

irm https://unsloth.ai/install.ps1 | iex

Launch Unsloth

MacOS, Linux, WSL:

source unsloth_studio/bin/activate
unsloth studio -H 0.0.0.0 -p 8888

Windows:

& .\unsloth_studio\Scripts\unsloth.exe studio -H 0.0.0.0 -p 8888

Updating Unsloth

pip install --force-reinstall --no-deps unsloth
appleMacOS
dockerDocker
windowsWindows
square-up-rightAMD
infoIntel
vscodeVS Code

Last updated

Was this helpful?