Skip to main content

HOME quota

42space quota --top 10

quota sorts what's in HOME into caches (safe to delete), things that can be reinstalled, and the rest, and lists the largest entries.

Relocating a directory​

42space relocate ~/.cache --class cache
42space relocate ~/.local/share/big --class data --accept-loss

relocate moves the directory to goinfre and leaves a symlink in HOME. Every machine recreates the target before anything writes to it.

  • --class cache is for data that can be regenerated. --drop deletes the contents instead of moving them.
  • --class data needs --accept-loss: goinfre belongs to one machine, so the data won't follow you.

Built-in cache policies​

42space already points npm, pnpm, corepack, uv, pip and go caches and prefixes at goinfre. An optional policy moves XDG_CACHE_HOME too; turn it on in config.toml.