Repository navigation
Description
Summary
Please add support for configuring the backend runtime installation directory in Unsloth Studio Desktop on Windows.
Currently, users can choose a custom directory for the Windows desktop application, but the backend runtime is still installed under %USERPROFILE%\.unsloth\studio.
This can consume several gigabytes of space on the system drive, even when the desktop application itself is installed on another drive.
Current behavior
My installation environment:
- OS: Windows
- Installation method:
Unsloth-Desktop-Windows.exe - Desktop application directory:
E:\Unsloth-Studio - Backend directory:
C:\Users\<username>\.unsloth\studio - Backend storage usage: approximately 6 GB
I selected a custom installation directory on the E: drive, but Unsloth still downloaded and installed its backend runtime into my user profile on the C: drive.
According to PR #5190, UNSLOTH_STUDIO_HOME and STUDIO_HOME already support custom installation paths for shell-based installations and the Python backend.
However, the PR explicitly excludes the Tauri desktop application.
Related PR:
#5190
Expected behavior
I would like to configure the backend installation directory independently of the desktop application's installation directory.
For example:
Desktop application:
E:\Unsloth-Studio
Backend runtime:
E:\Unsloth-Data\studio
Ideally, the Desktop application would support one or both of the following approaches:
Option 1: Environment variable
Support UNSLOTH_STUDIO_HOME or STUDIO_HOME consistently across the desktop launcher, backend installer, runtime process, and update mechanism.
Option 2: GUI configuration
Provide an option during installation or initial setup to select the backend runtime directory.
For existing installations, a migration option would also be helpful.
Additional considerations
It would be useful if the selected backend directory were consistently respected by:
- Python virtual environment installation
- Backend executable discovery
- Backend updates and repairs
- Desktop authentication and configuration files
- Log storage
- Uninstallation and cleanup
The selected path should also persist when launching the application from the Windows Start Menu or desktop shortcut.
Ideally, this feature should not require changing the user's global USERPROFILE or HOME environment variables.
Motivation
Many Windows users have limited free space on their system drive and prefer to install development environments, AI frameworks, and large dependencies on a secondary drive.
Although NTFS Junctions can be used as a workaround, native support for configuring the backend installation directory would provide a much cleaner user experience.
Thank you for considering this feature!
Activity
Therosin commentedon Sep 19, 2026
I second this. I have very little space to spare on my OS drive. (NVMe storage is expensive, and Windows has a habit of pretending storage is free and unlimited.) I configure development tooling to use other drives wherever possible, Studio bypasses all of this for no (acceptable) reason
But I'd also like to bring up a second, related point. There's currently an open PR, #7825 , addressing how Studio currently attempts to manage its Python installation.
Can I ask something fundamental? Why is Winget-installed Python involved here at all?
You already depend on
uv, anduvcan install and manage the exact Python version Studio needs without mutating the user's normal Python installation. What problem is Winget solving here thatuv python installdoes not?If the answer is related to offline installation, that does not really resolve the issue. If the machine is offline and has no suitable Python available locally, Winget cannot magically obtain one either.
Q: Why does the installer not instead offer to use an existing
uv-managed Python, an explicitly selected existing interpreter, or even a pre-provisioned environment with dependencies already installed?That would support developer machines and offline/cached setups without requiring Studio to effectively take ownership of the host Python installation.
This is in addition to the points raised by @donggeai above.
While we shouldn't allow this to derail the discussion, I think it is relevant to fully addressing the underlying issue here in that currently Studio seems to assume it should dictate where everything goes rather than allow users to configure it as needed to respect how their machines are actually managed.
Just trying to consolidate related installer concerns because there are already several overlapping storage/path issues that appear to have gone somewhat stale.
More broadly, these issues seem to point at the same underlying architectural problem. Studio currently makes assumptions about ownership and placement of its runtime, Python environment, and dependencies rather than exposing those choices to the user or respecting existing tooling. Addressing that architecture would likely resolve both the storage-location and Python-management problems together.
michapixel commentedon Oct 1, 2026
i second this too. once i installed it and waited for it to download everything needed, i lost ~100GB space.
I than did a quick scan with wiztree and found everything cluttered all over in many many folders ... keep you app and everything needed in one folder, especially everything python related!
DesolateIntention commentedon Oct 8, 2026
Need this yesterday. Programs like this one are the reason it's impossible to live with a 120 GB main drive.