diff --git a/crates/uv-settings/src/settings.rs b/crates/uv-settings/src/settings.rs index be2800002..175c42402 100644 --- a/crates/uv-settings/src/settings.rs +++ b/crates/uv-settings/src/settings.rs @@ -218,8 +218,8 @@ pub struct GlobalOptions { pub no_cache: Option, /// Path to the cache directory. /// - /// Defaults to `$HOME/Library/Caches/uv` on macOS, `$XDG_CACHE_HOME/uv` or `$HOME/.cache/uv` on - /// Linux, and `%LOCALAPPDATA%\uv\cache` on Windows. + /// Defaults to `$XDG_CACHE_HOME/uv` or `$HOME/.cache/uv` on Linux and macOS, and + /// `%LOCALAPPDATA%\uv\cache` on Windows. #[option( default = "None", value_type = "str", diff --git a/docs/reference/settings.md b/docs/reference/settings.md index 6bf91db6c..bf9ba6271 100644 --- a/docs/reference/settings.md +++ b/docs/reference/settings.md @@ -448,8 +448,8 @@ bypasses SSL verification and could expose you to MITM attacks. Path to the cache directory. -Defaults to `$HOME/Library/Caches/uv` on macOS, `$XDG_CACHE_HOME/uv` or `$HOME/.cache/uv` on -Linux, and `%LOCALAPPDATA%\uv\cache` on Windows. +Defaults to `$XDG_CACHE_HOME/uv` or `$HOME/.cache/uv` on Linux and macOS, and +`%LOCALAPPDATA%\uv\cache` on Windows. **Default value**: `None` diff --git a/uv.schema.json b/uv.schema.json index 9a4b6c876..5cf2bc089 100644 --- a/uv.schema.json +++ b/uv.schema.json @@ -25,7 +25,7 @@ } }, "cache-dir": { - "description": "Path to the cache directory.\n\nDefaults to `$HOME/Library/Caches/uv` on macOS, `$XDG_CACHE_HOME/uv` or `$HOME/.cache/uv` on Linux, and `%LOCALAPPDATA%\\uv\\cache` on Windows.", + "description": "Path to the cache directory.\n\nDefaults to `$XDG_CACHE_HOME/uv` or `$HOME/.cache/uv` on Linux and macOS, and `%LOCALAPPDATA%\\uv\\cache` on Windows.", "type": [ "string", "null"