-
Notifications
You must be signed in to change notification settings - Fork 8.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please don’t clutter the user home directory #228
Comments
For now I'm symlinking A few related tickets, albeit these are more focused on just the model blobs: |
If I understand correctly, #897 does not implement this feature request, since it only changes the path of the model files, but the path (There’s another, minor, issue that this solution still requires explicitly setting an environment variable instead of using the appropriate location by default: ideally |
I'd like to add that there is a quasi-standard called XDG, which helps to keep E.g. the model files could live under This would reduce surprises, at least for those familiar with XDG. |
I mean a user being able to set I personally like the location in the user dir; a lot of other linuxy tools do that as well. |
Maybe: |
Made #4382 to address this, but don't know much about macOS to debug the failing test. Any help would be greatly appreciated. |
This is the second most voted issue. Will a config file placed in #4821 moves model path configuration into unified location. The next step would be to add config file to read values for these variables. |
Any updates on this? |
Currently Ollama is writing into a directory in the user home,
~/.ollama
.However, the user home directory should be under the user’s control, and applications may only write into it if explicitly instructed to do so by the user. Settings etc. belong in OS-specific locations; in particular, under
~/Library
on macOS, under%AppData%
or%LocalAppData%
on Windows and, by convention, in directories following the XDG basedir specification on Linux.The text was updated successfully, but these errors were encountered: