diff --git a/Cargo.lock b/Cargo.lock
index 066981fdff1d..aa71551701da 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -5136,9 +5136,11 @@ dependencies = [
name = "uv-settings"
version = "0.0.1"
dependencies = [
+ "assert_fs",
"clap",
"dirs-sys",
"fs-err",
+ "indoc",
"schemars",
"serde",
"textwrap",
diff --git a/crates/uv-settings/Cargo.toml b/crates/uv-settings/Cargo.toml
index 683b9aae3c8c..1aca3d09c1f5 100644
--- a/crates/uv-settings/Cargo.toml
+++ b/crates/uv-settings/Cargo.toml
@@ -44,3 +44,7 @@ url = { workspace = true }
[package.metadata.cargo-shear]
ignored = ["uv-options-metadata", "clap"]
+
+[dev-dependencies]
+assert_fs = { version = "1.1.2" }
+indoc = { version = "2.0.5" }
diff --git a/crates/uv-settings/src/lib.rs b/crates/uv-settings/src/lib.rs
index 2ee366bf92f0..80ce9fd16f62 100644
--- a/crates/uv-settings/src/lib.rs
+++ b/crates/uv-settings/src/lib.rs
@@ -1,10 +1,10 @@
+use std::env;
use std::ops::Deref;
use std::path::{Path, PathBuf};
use tracing::debug;
use uv_fs::Simplified;
-#[cfg(not(windows))]
use uv_static::EnvVars;
use uv_warnings::warn_user;
@@ -36,7 +36,7 @@ impl Deref for FilesystemOptions {
impl FilesystemOptions {
/// Load the user [`FilesystemOptions`].
pub fn user() -> Result