uv
uv copied to clipboard
Work across multiple drives
$ uv add <any-package>
warning: Failed to hardlink files; falling back to full copy. This may lead to degraded performance.
If the cache and target directories are on different filesystems, hardlinking may not be supported.
If uv only has cache in C:\
, then I am unable to use uv in D:\
, at least with “degraded performance”. This case might be common for Windows machines. For example, https://github.com/astral-sh/uv/issues/6397#issuecomment-2303368424:
this is about the relationship between the cache directory and the drive you're installing on. I'm guessing your cache is not on
file:///E:
? You can use--cache-dir
orUV_CACHE_DIR
to set a different cache directory onfile:///E:
.
I understand that hard links are not permitted across drives. However, pnpm creates multiple stores (one per drive), solving the issue. Will it be possible for uv?