Developer tools
The goal: ten projects should not mean ten copies of the same dependencies.
| Tool | Setting | Effect |
|---|---|---|
| uv (Python) | UV_LINK_MODE=clone | virtualenvs are reflinked from one cache: on Btrfs a copy costs no space |
| pnpm (Node) | default content-addressed store | each package version is stored once and hard-linked into projects |
| sccache (Rust/C) | RUSTC_WRAPPER=sccache, SCCACHE_CACHE_SIZE=10G | compiled crates are reused across projects |
| mise | mise activate | per-project Node / Python / Go / Rust versions without system-wide installs |
| zoxide | zoxide init | z <part of a path> jumps to folders you use |
In fish (~/.config/fish/conf.d/dev.fish):
set -gx UV_LINK_MODE clone
set -gx SCCACHE_CACHE_SIZE 10G
command -q sccache; and set -gx RUSTC_WRAPPER sccache
if status is-interactive
command -q mise; and mise activate fish | source
command -q zoxide; and zoxide init fish | source
endBig model files (AI weights) live on the shared drive, so Windows can use them too:
point HF_HOME at a folder there.
Rebuildable caches can always be deleted to free space: ~/.cache/uv, ~/.cache/pip, the AUR helper's
build folder, old pacman packages (paccache -rk1).
Check it
uv cache dir && du -sh "$(uv cache dir)" # one cache, reflinked into every venv
sccache --show-stats | head -5 # compile cache hits
mise ls # per-project runtimes